CLI shows env var if set in help, override
Signed-off-by: jolheiser <john.olheiser@gmail.com>pull/7/head
parent
e0817ea38c
commit
ba9333a076
|
@ -44,6 +44,7 @@ func New() *cli.App {
|
||||||
Name: "token",
|
Name: "token",
|
||||||
Aliases: []string{"t"},
|
Aliases: []string{"t"},
|
||||||
Usage: "gpm auth token to use",
|
Usage: "gpm auth token to use",
|
||||||
|
DefaultText: "${GPM_TOKEN}",
|
||||||
EnvVars: []string{"GPM_TOKEN"},
|
EnvVars: []string{"GPM_TOKEN"},
|
||||||
Destination: &flags.Token,
|
Destination: &flags.Token,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue