Git Product home page Git Product logo

Comments (9)

pelikhan avatar pelikhan commented on May 9, 2024

Auto completion really messed up the title:

Support for json output in cli commands

from platformio-core.

ivankravets avatar ivankravets commented on May 9, 2024

Thanks! I got you. I will add it later via new "settings"'s option.

from platformio-core.

ivankravets avatar ivankravets commented on May 9, 2024

What do you think, which way is better to tell PlatformIO for json output?

  1. Additional option to specific command, like $ platformio list --output=json
  2. Global settings $ platformio settings set output_json yes

I'm not sure that I can implement normal json output for each command, but I can try.

from platformio-core.

pelikhan avatar pelikhan commented on May 9, 2024

Imo, (1) would be bwst. Just --json.

On Sunday, December 28, 2014, Ivan Kravets [email protected] wrote:

What do you think, which way is better to tell PlatformIO for json output?

  1. Additional option to specific command, like $ platformio list
    --output=json
  2. Global settings$ platformio settings set output_json yes`

I'm not sure that I can implement normal json output for each command,
but I can try.

β€”
Reply to this email directly or view it on GitHub
#42 (comment)
.

This posting is provided "AS IS" with no warranties, and confers no rights.

from platformio-core.

ivankravets avatar ivankravets commented on May 9, 2024

Imo, (1) would be bwst. Just --json.

Give me please a list with the commands which should return JSON response.

Thanks.

from platformio-core.

pelikhan avatar pelikhan commented on May 9, 2024

All the list commands, platforms, serial ports, libraries, etc...

On Friday, January 2, 2015, Ivan Kravets [email protected] wrote:

Imo, (1) would be bwst. Just --json.

Give me please a list with the commands which should return JSON response.

Thanks.

β€”
Reply to this email directly or view it on GitHub
#42 (comment)
.

This posting is provided "AS IS" with no warranties, and confers no rights.

from platformio-core.

pelikhan avatar pelikhan commented on May 9, 2024

The JSON produced is invalid. You can use online tools like JsonLint to validate it.

from platformio-core.

ivankravets avatar ivankravets commented on May 9, 2024

Opss... I see it. I will release new 0.10.2 tomorrow with that hotfix.

from platformio-core.

pelikhan avatar pelikhan commented on May 9, 2024

What also adding for the boards option?

from platformio-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.