mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-20 02:21:48 +08:00
commands: Allow overriding marshaller for any encoding type
This commit is contained in:

committed by
Juan Batiz-Benet

parent
33ad56e6d0
commit
2a1116cec8
@ -32,7 +32,7 @@ type Command struct {
|
||||
Options []Option
|
||||
Arguments []Argument
|
||||
Run Function
|
||||
Format Marshaller
|
||||
Marshallers map[EncodingType]Marshaller
|
||||
Type interface{}
|
||||
Subcommands map[string]*Command
|
||||
}
|
||||
|
Reference in New Issue
Block a user