Commit graph

3 commits

Author SHA1 Message Date
Marc Khouzam
483904656b ref(cmd): Use string method to list formats
This greatly simplifies how to obtain the list of output.Format.
It no longer provides a way to list all output.Format, but focuses
on providing a list of string representation of output.Format, as this
is what is actually needed.

Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2019-10-10 22:39:18 -04:00
Marc Khouzam
7fd384c8fb ref(cmd): Use method to list formats
This isolates the listing of the different formats to the output.go
file.  It is more future-proof if another format is added.

Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2019-10-10 21:38:38 -04:00
Taylor Thomas
768d27b387 ref(*): Refactors output into its own package
Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
2019-10-07 10:09:28 -06:00