mirror of
https://github.com/openziti/zrok.git
synced 2025-06-26 12:42:18 +02:00
use cobra long messages instead of crowding the short messages with too much info
This commit is contained in:
parent
f0f51057d6
commit
9b067d2266
@ -17,7 +17,8 @@ type configGetCommand struct {
|
|||||||
func newConfigGetCommand() *configGetCommand {
|
func newConfigGetCommand() *configGetCommand {
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "get <configName>",
|
Use: "get <configName>",
|
||||||
Short: "Get a value from the environment config. Run 'zrok status' to list valid config names and their current values.",
|
Short: "Get a value from the environment config",
|
||||||
|
Long: "Get a value from the environment config. Use 'zrok status' to list available configuration names and current values",
|
||||||
Args: cobra.ExactArgs(1),
|
Args: cobra.ExactArgs(1),
|
||||||
}
|
}
|
||||||
command := &configGetCommand{cmd: cmd}
|
command := &configGetCommand{cmd: cmd}
|
||||||
|
@ -22,6 +22,7 @@ func newConfigSetCommand() *configSetCommand {
|
|||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "set <configName> <value>",
|
Use: "set <configName> <value>",
|
||||||
Short: "Set a value into the environment config",
|
Short: "Set a value into the environment config",
|
||||||
|
Long: "Set a value into the environment config. Use 'zrok status' to list available configuration names and current values",
|
||||||
Args: cobra.ExactArgs(2),
|
Args: cobra.ExactArgs(2),
|
||||||
}
|
}
|
||||||
command := &configSetCommand{cmd: cmd}
|
command := &configSetCommand{cmd: cmd}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user