commands: Added a Type field for defining output struct formats

This commit is contained in:
Matt Bell 2014-10-28 22:13:43 -07:00 committed by Juan Batiz-Benet
parent 6302356e15
commit ef290faa88

View File

@ -26,6 +26,7 @@ type Command struct {
Options []Option
Run Function
Format Formatter
Type interface{}
Subcommands map[string]*Command
}