Commit ef290faa authored by Matt Bell's avatar Matt Bell Committed by Juan Batiz-Benet

commands: Added a Type field for defining output struct formats

parent 6302356e
...@@ -26,6 +26,7 @@ type Command struct { ...@@ -26,6 +26,7 @@ type Command struct {
Options []Option Options []Option
Run Function Run Function
Format Formatter Format Formatter
Type interface{}
Subcommands map[string]*Command Subcommands map[string]*Command
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment