main: add Destroy

This commit is contained in:
Mitchell Hashimoto 2014-09-30 21:51:45 -07:00
parent ab9dd71bcb
commit f302e7d1bb
1 changed files with 8 additions and 0 deletions

View File

@ -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,