Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Fixes #833 Move plugin-config outside of tribe cmds
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
IRCody committed Apr 8, 2016
1 parent e2b01e3 commit 0d7554d
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions cmd/snapctl/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,21 @@ var (
flRunning,
},
},
{
Name: "config",
Subcommands: []cli.Command{
{
Name: "get",
Usage: "get <plugin_type>:<plugin_name>:<plugin_version> or get -t <plugin_type> -n <plugin_name> -v <plugin_version>",
Action: getConfig,
Flags: []cli.Flag{
flPluginName,
flPluginType,
flPluginVersion,
},
},
},
},
},
},
{
Expand Down Expand Up @@ -198,22 +213,6 @@ var (
},
},
},
{
Name: "plugin-config",
Usage: tribeWarning,
Subcommands: []cli.Command{
{
Name: "get",
Usage: "get <plugin_type>:<plugin_name>:<plugin_version> or get -t <plugin_type> -n <plugin_version> -v <plugin_version>",
Action: getConfig,
Flags: []cli.Flag{
flPluginName,
flPluginType,
flPluginVersion,
},
},
},
},
}
)

Expand Down

0 comments on commit 0d7554d

Please sign in to comment.