mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-28 04:03:27 -04:00
main: add Destroy
This commit is contained in:
parent
ab9dd71bcb
commit
f302e7d1bb
1 changed files with 8 additions and 0 deletions
|
|
@ -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 a new issue