chore(confix): update <simd> config subcommand description (#19047)
This commit is contained in:
parent
b44317ebce
commit
753ac5d850
@ -9,7 +9,7 @@ import (
|
||||
func HomeCommand() *cobra.Command {
|
||||
return &cobra.Command{
|
||||
Use: "home",
|
||||
Short: "Outputs the folder used as the binary home. No home directory is set when using the tool standalone.",
|
||||
Short: "Outputs the folder used as the binary home. No home directory is set when using the `confix` tool standalone.",
|
||||
Long: `Outputs the folder used as the binary home. In order to change the home directory path, set the $APPD_HOME environment variable, or use the "--home" flag.`,
|
||||
Args: cobra.NoArgs,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
|
||||
@ -22,7 +22,7 @@ func SetCommand() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "set [config] [key] [value]",
|
||||
Short: "Set an application config value",
|
||||
Long: "Set an application config value. The [config] argument must be the path of the file when using the tool standalone, otherwise it must be the name of the config file without the .toml extension.",
|
||||
Long: "Set an application config value. The [config] argument must be the path of the file when using the `confix` tool standalone, otherwise it must be the name of the config file without the .toml extension.",
|
||||
Args: cobra.ExactArgs(3),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
filename, inputValue := args[0], args[2]
|
||||
@ -89,7 +89,7 @@ func GetCommand() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "get [config] [key]",
|
||||
Short: "Get an application config value",
|
||||
Long: "Get an application config value. The [config] argument must be the path of the file when using the too standalone, otherwise it must be the name of the config file without the .toml extension.",
|
||||
Long: "Get an application config value. The [config] argument must be the path of the file when using the `confix` tool standalone, otherwise it must be the name of the config file without the .toml extension.",
|
||||
Args: cobra.ExactArgs(2),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
filename, key := args[0], args[1]
|
||||
|
||||
@ -18,6 +18,7 @@ func ViewCommand() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "view [config]",
|
||||
Short: "View the config file",
|
||||
Long: "View the config file. The [config] argument must be the path of the file when using the `confix` tool standalone, otherwise it must be the name of the config file without the .toml extension.",
|
||||
Args: cobra.ExactArgs(1),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
filename := args[0]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user