main: add Destroy
This commit is contained in:
parent
ab9dd71bcb
commit
f302e7d1bb
|
@ -40,6 +40,14 @@ func init() {
|
||||||
}, nil
|
}, nil
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"destroy": func() (cli.Command, error) {
|
||||||
|
return &command.ApplyCommand{
|
||||||
|
Meta: meta,
|
||||||
|
Destroy: true,
|
||||||
|
ShutdownCh: makeShutdownCh(),
|
||||||
|
}, nil
|
||||||
|
},
|
||||||
|
|
||||||
"get": func() (cli.Command, error) {
|
"get": func() (cli.Command, error) {
|
||||||
return &command.GetCommand{
|
return &command.GetCommand{
|
||||||
Meta: meta,
|
Meta: meta,
|
||||||
|
|
Loading…
Reference in New Issue