1
0
mirror of https://github.com/rancher/os.git synced 2025-08-26 02:09:13 +00:00

Hide various internal commands

This commit is contained in:
Josh Curl 2016-10-20 00:19:47 -07:00
parent 1a0a6f1c0e
commit 8665960ff2
No known key found for this signature in database
GPG Key ID: 82B504B9BCCFA677

View File

@ -26,6 +26,7 @@ func Main() {
app.Commands = []cli.Command{ app.Commands = []cli.Command{
{ {
Name: "bootstrap", Name: "bootstrap",
Hidden: true,
HideHelp: true, HideHelp: true,
SkipFlagParsing: true, SkipFlagParsing: true,
Action: bootstrapAction, Action: bootstrapAction,
@ -45,8 +46,7 @@ func Main() {
}, },
{ {
Name: "dev", Name: "dev",
ShortName: "d", Hidden: true,
Usage: "dev spec",
HideHelp: true, HideHelp: true,
SkipFlagParsing: true, SkipFlagParsing: true,
Action: devAction, Action: devAction,
@ -59,14 +59,14 @@ func Main() {
}, },
{ {
Name: "entrypoint", Name: "entrypoint",
Hidden: true,
HideHelp: true, HideHelp: true,
SkipFlagParsing: true, SkipFlagParsing: true,
Action: entrypointAction, Action: entrypointAction,
}, },
{ {
Name: "env", Name: "env",
ShortName: "e", Hidden: true,
Usage: "env command",
HideHelp: true, HideHelp: true,
SkipFlagParsing: true, SkipFlagParsing: true,
Action: envAction, Action: envAction,
@ -80,6 +80,7 @@ func Main() {
}, },
{ {
Name: "preload-images", Name: "preload-images",
Hidden: true,
HideHelp: true, HideHelp: true,
SkipFlagParsing: true, SkipFlagParsing: true,
Action: preloadImagesAction, Action: preloadImagesAction,
@ -92,6 +93,7 @@ func Main() {
}, },
{ {
Name: "udev-settle", Name: "udev-settle",
Hidden: true,
HideHelp: true, HideHelp: true,
SkipFlagParsing: true, SkipFlagParsing: true,
Action: udevSettleAction, Action: udevSettleAction,