hoard icon indicating copy to clipboard operation
hoard copied to clipboard

Exend list formats to include json

Open Shirtpantswallet opened this issue 2 years ago • 1 comments

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.

Shirtpantswallet avatar Feb 03 '23 13:02 Shirtpantswallet

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

Shirtpantswallet avatar Feb 03 '23 19:02 Shirtpantswallet