Commit 83b2ba00 authored by Matt Bell's avatar Matt Bell Committed by Juan Batiz-Benet

commands: Removed Command#Private field

parent c0d3edd4
......@@ -28,7 +28,6 @@ type Command struct {
Format Formatter
Type interface{}
Subcommands map[string]*Command
Private bool
}
// ErrNotCallable signals a command that cannot be called.
......
......@@ -31,10 +31,6 @@ func Parse(r *http.Request, root *cmds.Command) (cmds.Request, error) {
cmd = sub
}
if cmd.Private {
return nil, ErrNotFound
}
opts, args2 := parseOptions(r)
args = append(args, args2...)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment