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

feat: Allow passing --json to commands #41

Merged
merged 1 commit into from
Jul 18, 2023
Merged

Conversation

ernesto-jimenez
Copy link
Contributor

In order to be able to have scripts that rely on the output of other commands.

Simple example:

unweave ls --json | jq -r '.[] | .id' | xargs unweave terminate

@ernesto-jimenez ernesto-jimenez merged commit 2eb34b7 into master Jul 18, 2023
@ernesto-jimenez ernesto-jimenez deleted the json-output branch July 18, 2023 12:39
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

Successfully merging this pull request may close these issues.

2 participants