1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 14:48:55 +00:00

Merge pull request #1338 from joshwget/move-to-ros-subcommands

Move more commands to subcommands of ros
This commit is contained in:
Sven Dowideit
2016-11-01 12:58:51 +10:00
committed by GitHub
10 changed files with 78 additions and 59 deletions

View File

@@ -45,6 +45,13 @@ func Main() {
HideHelp: true,
Subcommands: consoleSubcommands(),
},
{
Name: "console-init",
Hidden: true,
HideHelp: true,
SkipFlagParsing: true,
Action: consoleInitAction,
},
{
Name: "dev",
Hidden: true,
@@ -52,6 +59,13 @@ func Main() {
SkipFlagParsing: true,
Action: devAction,
},
{
Name: "docker-init",
Hidden: true,
HideHelp: true,
SkipFlagParsing: true,
Action: dockerInitAction,
},
{
Name: "engine",
Usage: "manage which Docker engine is used",
@@ -86,6 +100,13 @@ func Main() {
SkipFlagParsing: true,
Action: preloadImagesAction,
},
{
Name: "switch-console",
Hidden: true,
HideHelp: true,
SkipFlagParsing: true,
Action: switchConsoleAction,
},
{
Name: "tls",
Usage: "setup tls configuration",
@@ -99,6 +120,13 @@ func Main() {
SkipFlagParsing: true,
Action: udevSettleAction,
},
{
Name: "user-docker",
Hidden: true,
HideHelp: true,
SkipFlagParsing: true,
Action: userDockerAction,
},
installCommand,
selinuxCommand(),
}