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

Commit

Permalink
Merge pull request #845 from IRCody/fix_833
Browse files Browse the repository at this point in the history
Fixes #833 Move plugin-config outside of tribe cmds
  • Loading branch information
IRCody committed Apr 13, 2016
2 parents ed27831 + 0d7554d commit e8c0b4c
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 e8c0b4c

Please sign in to comment.