From f302e7d1bbfd460999a5c0ce59f01984f2cbb5a2 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 30 Sep 2014 21:51:45 -0700 Subject: [PATCH] main: add Destroy --- commands.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/commands.go b/commands.go index a8251e547..b58011f1f 100644 --- a/commands.go +++ b/commands.go @@ -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,