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
Type interface{}
Subcommands map[string]*Command
Private bool
}
// ErrNotCallable signals a command that cannot be called.