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

Exend list formats to include json #252

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Shirtpantswallet
Copy link
Contributor

Previously, though a --json flag existed for the list command, it would output YAML. This change adds a separate --yaml flag as well as corrects the behavior of --json. I have had to mix in the builder pattern with the derive pattern as I was unable to figure out how to do it otherwise.

Previously, though a --json flag existed for the list command, it would
output YAML. This change adds a separate --yaml flag as well as corrects
the behavior of --json.
@Shirtpantswallet
Copy link
Contributor Author

I just realized that this behavior isn't quite correct. Specifically, defaulting to simple means that an Option isn't required.

@Shirtpantswallet Shirtpantswallet marked this pull request as draft February 3, 2023 19:25
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.

1 participant