From 0d7554d4ccc1b10920d2343cfb7a7df6f9089191 Mon Sep 17 00:00:00 2001 From: Cody Roseborough Date: Fri, 8 Apr 2016 10:01:38 -0700 Subject: [PATCH] Fixes #833 Move plugin-config outside of tribe cmds Move the plugin-config command in snapctl outside of tribe commands so that it can be used when not in tribe mode. The new command will be underneath the plugin set of commands in snapctl for consistency. --- cmd/snapctl/commands.go | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/cmd/snapctl/commands.go b/cmd/snapctl/commands.go index 5a0bd2456..f523f64e4 100644 --- a/cmd/snapctl/commands.go +++ b/cmd/snapctl/commands.go @@ -117,6 +117,21 @@ var ( flRunning, }, }, + { + Name: "config", + Subcommands: []cli.Command{ + { + Name: "get", + Usage: "get :: or get -t -n -v ", + Action: getConfig, + Flags: []cli.Flag{ + flPluginName, + flPluginType, + flPluginVersion, + }, + }, + }, + }, }, }, { @@ -198,22 +213,6 @@ var ( }, }, }, - { - Name: "plugin-config", - Usage: tribeWarning, - Subcommands: []cli.Command{ - { - Name: "get", - Usage: "get :: or get -t -n -v ", - Action: getConfig, - Flags: []cli.Flag{ - flPluginName, - flPluginType, - flPluginVersion, - }, - }, - }, - }, } )