1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-19 01:39:35 +08:00

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
}