Skip to content

Commit bb706b2

Browse files
committed
chore: remove EXPERIMENTAL labels from config subcommands
The config global flags had their experimental labels removed in #972, but the config subcommands (set, get, delete, delete-profile, list) still had them. This aligns the subcommands with the flags.
1 parent 3cb0baa commit bb706b2

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

internal/temporalcli/commands.gen.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ func NewTemporalConfigCommand(cctx *CommandContext, parent *TemporalCommand) *Te
10871087
var s TemporalConfigCommand
10881088
s.Parent = parent
10891089
s.Command.Use = "config"
1090-
s.Command.Short = "Manage config files (EXPERIMENTAL)"
1090+
s.Command.Short = "Manage config files"
10911091
if hasHighlighting {
10921092
s.Command.Long = "Config files are TOML files that contain profiles, with each profile\ncontaining configuration for connecting to Temporal.\n\n\x1b[1mtemporal config set \\\n --prop address \\\n --value us-west-2.aws.api.temporal.io:7233\x1b[0m\n\nThe default config file path is \x1b[1m$CONFIG_PATH/temporalio/temporal.toml\x1b[0m where\n\x1b[1m$CONFIG_PATH\x1b[0m is defined as \x1b[1m$HOME/.config\x1b[0m on Unix,\n\x1b[1m$HOME/Library/Application Support\x1b[0m on macOS, and \x1b[1m%AppData%\x1b[0m on Windows.\nThis can be overridden with the \x1b[1mTEMPORAL_CONFIG_FILE\x1b[0m environment\nvariable or \x1b[1m--config-file\x1b[0m.\n\nThe default profile is \x1b[1mdefault\x1b[0m. This can be overridden with the\n\x1b[1mTEMPORAL_PROFILE\x1b[0m environment variable or \x1b[1m--profile\x1b[0m."
10931093
} else {
@@ -1113,7 +1113,7 @@ func NewTemporalConfigDeleteCommand(cctx *CommandContext, parent *TemporalConfig
11131113
s.Parent = parent
11141114
s.Command.DisableFlagsInUseLine = true
11151115
s.Command.Use = "delete [flags]"
1116-
s.Command.Short = "Delete a config file property (EXPERIMENTAL)\n"
1116+
s.Command.Short = "Delete a config file property\n"
11171117
if hasHighlighting {
11181118
s.Command.Long = "Remove a property within a profile.\n\n\x1b[1mtemporal config delete \\\n --prop tls.client_cert_path\x1b[0m"
11191119
} else {
@@ -1140,7 +1140,7 @@ func NewTemporalConfigDeleteProfileCommand(cctx *CommandContext, parent *Tempora
11401140
s.Parent = parent
11411141
s.Command.DisableFlagsInUseLine = true
11421142
s.Command.Use = "delete-profile [flags]"
1143-
s.Command.Short = "Delete an entire config profile (EXPERIMENTAL)\n"
1143+
s.Command.Short = "Delete an entire config profile\n"
11441144
if hasHighlighting {
11451145
s.Command.Long = "Remove a full profile entirely. The \x1b[1m--profile\x1b[0m must be set explicitly.\n\n\x1b[1mtemporal config delete-profile \\\n --profile my-profile\x1b[0m"
11461146
} else {
@@ -1166,7 +1166,7 @@ func NewTemporalConfigGetCommand(cctx *CommandContext, parent *TemporalConfigCom
11661166
s.Parent = parent
11671167
s.Command.DisableFlagsInUseLine = true
11681168
s.Command.Use = "get [flags]"
1169-
s.Command.Short = "Show config file properties (EXPERIMENTAL)"
1169+
s.Command.Short = "Show config file properties"
11701170
if hasHighlighting {
11711171
s.Command.Long = "Display specific properties or the entire profile.\n\n\x1b[1mtemporal config get \\\n --prop address\x1b[0m\n\nor\n\n\x1b[1mtemporal config get\x1b[0m"
11721172
} else {
@@ -1192,7 +1192,7 @@ func NewTemporalConfigListCommand(cctx *CommandContext, parent *TemporalConfigCo
11921192
s.Parent = parent
11931193
s.Command.DisableFlagsInUseLine = true
11941194
s.Command.Use = "list [flags]"
1195-
s.Command.Short = "Show config file profiles (EXPERIMENTAL)"
1195+
s.Command.Short = "Show config file profiles"
11961196
if hasHighlighting {
11971197
s.Command.Long = "List profile names in the config file.\n\n\x1b[1mtemporal config list\x1b[0m"
11981198
} else {
@@ -1219,7 +1219,7 @@ func NewTemporalConfigSetCommand(cctx *CommandContext, parent *TemporalConfigCom
12191219
s.Parent = parent
12201220
s.Command.DisableFlagsInUseLine = true
12211221
s.Command.Use = "set [flags]"
1222-
s.Command.Short = "Set config file properties (EXPERIMENTAL)"
1222+
s.Command.Short = "Set config file properties"
12231223
if hasHighlighting {
12241224
s.Command.Long = "Assign a value to a property and store it in the config file:\n\n\x1b[1mtemporal config set \\\n --prop address \\\n --value us-west-2.aws.api.temporal.io:7233\x1b[0m"
12251225
} else {

internal/temporalcli/commands.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ commands:
790790
required: true
791791

792792
- name: temporal config
793-
summary: Manage config files (EXPERIMENTAL)
793+
summary: Manage config files
794794
description: |
795795
Config files are TOML files that contain profiles, with each profile
796796
containing configuration for connecting to Temporal.
@@ -829,7 +829,7 @@ commands:
829829

830830
- name: temporal config delete
831831
summary: |
832-
Delete a config file property (EXPERIMENTAL)
832+
Delete a config file property
833833
description: |
834834
Remove a property within a profile.
835835
@@ -847,7 +847,7 @@ commands:
847847

848848
- name: temporal config delete-profile
849849
summary: |
850-
Delete an entire config profile (EXPERIMENTAL)
850+
Delete an entire config profile
851851
description: |
852852
Remove a full profile entirely. The `--profile` must be set explicitly.
853853
@@ -857,7 +857,7 @@ commands:
857857
```
858858
859859
- name: temporal config get
860-
summary: Show config file properties (EXPERIMENTAL)
860+
summary: Show config file properties
861861
description: |
862862
Display specific properties or the entire profile.
863863
@@ -878,7 +878,7 @@ commands:
878878
description: Specific property to get.
879879

880880
- name: temporal config list
881-
summary: Show config file profiles (EXPERIMENTAL)
881+
summary: Show config file profiles
882882
description: |
883883
List profile names in the config file.
884884
@@ -887,7 +887,7 @@ commands:
887887
```
888888
889889
- name: temporal config set
890-
summary: Set config file properties (EXPERIMENTAL)
890+
summary: Set config file properties
891891
description: |
892892
Assign a value to a property and store it in the config file:
893893

0 commit comments

Comments
 (0)