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:

committed by
Juan Batiz-Benet

parent
6302356e15
commit
ef290faa88
@ -26,6 +26,7 @@ type Command struct {
|
||||
Options []Option
|
||||
Run Function
|
||||
Format Formatter
|
||||
Type interface{}
|
||||
Subcommands map[string]*Command
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user