Skip to content

--format json results in no output #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
djmcgill opened this issue Sep 11, 2018 · 1 comment
Closed

--format json results in no output #39

djmcgill opened this issue Sep 11, 2018 · 1 comment

Comments

@djmcgill
Copy link

Hi, I'm trying to write a wrapper around this cli so that I can call it from build scripts: https://github.com/djmcgill/arduino-cli-rs
However, --format json currently doesn't seem to output any text at all. I've tried a few of the commands - core search and core list for example. As shown below --format text works as expected.
If this is just a case of not-yet-implemented is there a roadmap or issue board I can follow?

~/code/arduino-cli-rs master*
> arduino-cli core list --format text
ID              Installed       Latest  Name
arduino:samd    1.6.19          1.6.19  Arduino SAMD Boards (32-bits ARM Cortex-M0+)

~/code/arduino-cli-rs master*
> arduino-cli core list --format json

~/code/arduino-cli-rs master*
> echo $?
0
@cmaglie cmaglie added the bug label Sep 21, 2018
cmaglie added a commit to cmaglie/arduino-cli that referenced this issue Sep 24, 2018
cmaglie added a commit to cmaglie/arduino-cli that referenced this issue Sep 24, 2018
@cmaglie cmaglie added this to the Next alpha.preview milestone Sep 25, 2018
@cmaglie
Copy link
Member

cmaglie commented Sep 25, 2018

I've added a json output with a minimum amount of information on #48, we could add more as needed.

per1234 added a commit that referenced this issue Aug 9, 2021
Add schema provided checks for library.properties author field
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants