From 06249f0ee654e67ba0913af770d2c934c0b259c1 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Mon, 19 Jan 2015 14:37:58 -1000 Subject: [PATCH] Adding new command 'lock' --- commands.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/commands.go b/commands.go index 8f39afa107..13721975ea 100644 --- a/commands.go +++ b/commands.go @@ -69,6 +69,13 @@ func init() { }, nil }, + "lock": func() (cli.Command, error) { + return &command.LockCommand{ + ShutdownCh: makeShutdownCh(), + Ui: ui, + }, nil + }, + "members": func() (cli.Command, error) { return &command.MembersCommand{ Ui: ui,