Skip to content

Exend list formats to include json#252

Draft
Shirtpantswallet wants to merge 1 commit into
Hyde46:mainfrom
Shirtpantswallet:extend-list-output-formats
Draft

Exend list formats to include json#252
Shirtpantswallet wants to merge 1 commit into
Hyde46:mainfrom
Shirtpantswallet:extend-list-output-formats

Conversation

@Shirtpantswallet
Copy link
Copy Markdown
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
Copy Markdown
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