move force-unlock to plumbing
shouldn't be listed as a common command
This commit is contained in:
parent
305ef43aa6
commit
9e9d0b1bdf
17
commands.go
17
commands.go
|
@ -42,8 +42,9 @@ func init() {
|
||||||
// that to match.
|
// that to match.
|
||||||
|
|
||||||
PlumbingCommands = map[string]struct{}{
|
PlumbingCommands = map[string]struct{}{
|
||||||
"state": struct{}{}, // includes all subcommands
|
"state": struct{}{}, // includes all subcommands
|
||||||
"debug": struct{}{}, // includes all subcommands
|
"debug": struct{}{}, // includes all subcommands
|
||||||
|
"force-unlock": struct{}{},
|
||||||
}
|
}
|
||||||
|
|
||||||
Commands = map[string]cli.CommandFactory{
|
Commands = map[string]cli.CommandFactory{
|
||||||
|
@ -105,12 +106,6 @@ func init() {
|
||||||
}, nil
|
}, nil
|
||||||
},
|
},
|
||||||
|
|
||||||
"force-unlock": func() (cli.Command, error) {
|
|
||||||
return &command.UnlockCommand{
|
|
||||||
Meta: meta,
|
|
||||||
}, nil
|
|
||||||
},
|
|
||||||
|
|
||||||
"get": func() (cli.Command, error) {
|
"get": func() (cli.Command, error) {
|
||||||
return &command.GetCommand{
|
return &command.GetCommand{
|
||||||
Meta: meta,
|
Meta: meta,
|
||||||
|
@ -215,6 +210,12 @@ func init() {
|
||||||
}, nil
|
}, nil
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"force-unlock": func() (cli.Command, error) {
|
||||||
|
return &command.UnlockCommand{
|
||||||
|
Meta: meta,
|
||||||
|
}, nil
|
||||||
|
},
|
||||||
|
|
||||||
"state": func() (cli.Command, error) {
|
"state": func() (cli.Command, error) {
|
||||||
return &command.StateCommand{}, nil
|
return &command.StateCommand{}, nil
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue