1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

rancherctl env subcommand

Usage:
rancherctl env <command>

Executes <command> with environment from rancher.environment. Real env vars override those from rancher.environment.
This commit is contained in:
Ivan Mikushin
2015-04-29 15:32:12 +05:00
parent 6f4d7a177a
commit d62eb3de5d
3 changed files with 65 additions and 0 deletions

View File

@@ -24,6 +24,14 @@ func Main() {
HideHelp: true,
Subcommands: configSubcommands(),
},
{
Name: "env",
ShortName: "e",
Usage: "env command",
HideHelp: true,
SkipFlagParsing: true,
Action: envAction,
},
{
Name: "service",
ShortName: "s",