mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-20 02:21:48 +08:00
commands: Added 'Private' field to Command
This commit is contained in:

committed by
Juan Batiz-Benet

parent
b61cfd9224
commit
460387fc3b
@ -28,6 +28,7 @@ type Command struct {
|
|||||||
Format Formatter
|
Format Formatter
|
||||||
Type interface{}
|
Type interface{}
|
||||||
Subcommands map[string]*Command
|
Subcommands map[string]*Command
|
||||||
|
Private bool
|
||||||
}
|
}
|
||||||
|
|
||||||
// ErrNotCallable signals a command that cannot be called.
|
// ErrNotCallable signals a command that cannot be called.
|
||||||
|
Reference in New Issue
Block a user