1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-19 18:05:32 +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 Options []Option
Run Function Run Function
Format Formatter Format Formatter
Type interface{}
Subcommands map[string]*Command Subcommands map[string]*Command
} }