Skip to content
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

Add JSON output support #14

Open
GZGavinZhao opened this issue Apr 21, 2024 · 0 comments
Open

Add JSON output support #14

GZGavinZhao opened this issue Apr 21, 2024 · 0 comments

Comments

@GZGavinZhao
Copy link
Owner

Read this on HackerNews and agreed with it. I wanted to make autobuild work with pipes hence the introduction of the -q,--quiet argument, but it was annoying to get it working while avoiding huge if statements and code duplication. Having a --json flag and then process the output through jq may be better both on the developer's side and on user's side (i.e. more control over what information to keep and what to discard).

At least to autobuild query, maybe to autobuild diff as well. I don't think it's that useful for autobuild push?

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

1 participant