-
Notifications
You must be signed in to change notification settings - Fork 703
Add --json-output flag to save structured CLI output to disk
#29051
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
Conversation
da136fd to
561dba3
Compare
--json flag for machine-readable CLI output
7e046cf to
4df82ab
Compare
9e8fb4a to
5c67292
Compare
mitchmindtree
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some minor optional changes, otherwise lgtm
mohammadfawaz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall! Just a few comments.
3b388e7 to
f04f035
Compare
--json flag for machine-readable CLI output--json-output flag to save structured CLI output to disk
2ccaa66 to
a71fd5b
Compare
a71fd5b to
48625c6
Compare
Adds machine-readable JSON output for deploy, upgrade, run, execute, test, query, and synthesize commands. JSON files are saved to build/json-outputs/ by default. Closes #29011
48625c6 to
8146661
Compare
|
Thanks for the feedback @mohammadfawaz! You can now see the json outputs for each CLI tool in the expectations. Think I've captured everything, let me know if you're happy with this or if there is something I've missed. Thanks. |
mohammadfawaz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! This all looks reasonable. Thanks!
Adds a
--json-outputflag to write structured, machine-readable JSON output to disk. Supported commands:deploy,upgrade,run,execute,test,query, andsynthesize.Usage
Default output location
JSON files are saved to
build/json-outputs/by default:build/json-outputs/deploy.jsonbuild/json-outputs/execute.jsonbuild/json-outputs/run.jsonCloses #29011
Related docs: ProvableHQ/leo-docs-source#558