hoard
hoard copied to clipboard
Exend list formats to include json
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.
I just realized that this behavior isn't quite correct. Specifically, defaulting to simple means that an Option isn't required.