1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-19 18:05:32 +08:00

commands: Added 'Private' field to Command

This commit is contained in:
Matt Bell
2014-10-30 20:33:32 -07:00
committed by Juan Batiz-Benet
parent b61cfd9224
commit 460387fc3b

View File

@ -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.