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