commands: Added a Type field for defining output struct formats
Matt Bell committed
Oct 28, 2014 at 22:13 UTC
ef290faa884abb0cc4ecdfc9fd1ab21174295bb8
1 file changed
+1
commands/command.go
+1
@@ -26,6 +26,7 @@ type Command struct {
26
Options []Option
27
Run Function
28
Format Formatter
29
+ Type interface{}
30
Subcommands map[string]*Command
31
}
32