Skip to content

feat: Allow passing --json to commands#41

Merged
ernesto-jimenez merged 1 commit intomasterfrom
json-output
Jul 18, 2023
Merged

feat: Allow passing --json to commands#41
ernesto-jimenez merged 1 commit intomasterfrom
json-output

Conversation

@ernesto-jimenez
Copy link
Copy Markdown
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 requested a review from noorvir July 18, 2023 12:30
@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