1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 14:23:11 +00:00

Refactor default configuration

This commit is contained in:
Darren Shepherd
2015-03-18 06:23:27 -07:00
parent 3756bbae90
commit 5877e586b8
3 changed files with 131 additions and 80 deletions

View File

@@ -14,7 +14,6 @@ func Main() {
app.Usage = "Control and configure RancherOS"
app.Version = config.VERSION
app.Author = "Rancher Labs, Inc."
app.Email = "darren@rancher.com"
app.EnableBashCompletion = true
app.Commands = []cli.Command{
@@ -22,12 +21,14 @@ func Main() {
Name: "config",
ShortName: "c",
Usage: "configure settings",
HideHelp: true,
Subcommands: configSubcommands(),
},
{
Name: "addon",
ShortName: "a",
Usage: "addon settings",
HideHelp: true,
Subcommands: addonSubCommands(),
},
//{
@@ -39,6 +40,7 @@ func Main() {
{
Name: "os",
Usage: "operating system upgrade/downgrade",
HideHelp: true,
Subcommands: osSubcommands(),
},
{