mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 03:47:45 +08:00
commands: Added a Type field for defining output struct formats
This commit is contained in:
parent
6302356e15
commit
ef290faa88
@ -26,6 +26,7 @@ type Command struct {
|
||||
Options []Option
|
||||
Run Function
|
||||
Format Formatter
|
||||
Type interface{}
|
||||
Subcommands map[string]*Command
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user