From b820ef6c6b95370a30024040b095d859ccb211f6 Mon Sep 17 00:00:00 2001 From: Tasha Alfano Date: Wed, 1 Apr 2026 15:43:45 -0500 Subject: [PATCH] Remove experimental labels from config-related global flags Co-Authored-By: Claude Sonnet 4.6 --- cliext/flags.gen.go | 8 ++++---- cliext/option-sets.yaml | 4 ---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/cliext/flags.gen.go b/cliext/flags.gen.go index c607e4c13..dafd27121 100644 --- a/cliext/flags.gen.go +++ b/cliext/flags.gen.go @@ -34,10 +34,10 @@ func (v *CommonOptions) BuildFlags(f *pflag.FlagSet) { v.FlagSet = f f.StringVar(&v.Env, "env", "default", "Active environment name (`ENV`).") f.StringVar(&v.EnvFile, "env-file", "", "Path to environment settings file. Defaults to `$HOME/.config/temporalio/temporal.yaml`.") - f.StringVar(&v.ConfigFile, "config-file", "", "File path to read TOML config from, defaults to `$CONFIG_PATH/temporalio/temporal.toml` where `$CONFIG_PATH` is defined as `$HOME/.config` on Unix, `$HOME/Library/Application Support` on macOS, and `%AppData%` on Windows. EXPERIMENTAL.") - f.StringVar(&v.Profile, "profile", "", "Profile to use for config file. EXPERIMENTAL.") - f.BoolVar(&v.DisableConfigFile, "disable-config-file", false, "If set, disables loading environment config from config file. EXPERIMENTAL.") - f.BoolVar(&v.DisableConfigEnv, "disable-config-env", false, "If set, disables loading environment config from environment variables. EXPERIMENTAL.") + f.StringVar(&v.ConfigFile, "config-file", "", "File path to read TOML config from, defaults to `$CONFIG_PATH/temporalio/temporal.toml` where `$CONFIG_PATH` is defined as `$HOME/.config` on Unix, `$HOME/Library/Application Support` on macOS, and `%AppData%` on Windows.") + f.StringVar(&v.Profile, "profile", "", "Profile to use for config file.") + f.BoolVar(&v.DisableConfigFile, "disable-config-file", false, "If set, disables loading environment config from config file.") + f.BoolVar(&v.DisableConfigEnv, "disable-config-env", false, "If set, disables loading environment config from environment variables.") v.LogLevel = NewFlagStringEnum([]string{"debug", "info", "warn", "error", "never"}, "never") f.Var(&v.LogLevel, "log-level", "Log level. Default is \"never\" for most commands and \"warn\" for \"server start-dev\". Accepted values: debug, info, warn, error, never.") v.LogFormat = NewFlagStringEnum([]string{"text", "json", "pretty"}, "text") diff --git a/cliext/option-sets.yaml b/cliext/option-sets.yaml index e7a7ff8cf..1ebad77af 100644 --- a/cliext/option-sets.yaml +++ b/cliext/option-sets.yaml @@ -23,24 +23,20 @@ option-sets: `$CONFIG_PATH/temporalio/temporal.toml` where `$CONFIG_PATH` is defined as `$HOME/.config` on Unix, `$HOME/Library/Application Support` on macOS, and `%AppData%` on Windows. - experimental: true implied-env: TEMPORAL_CONFIG_FILE - name: profile type: string description: Profile to use for config file. - experimental: true implied-env: TEMPORAL_PROFILE - name: disable-config-file type: bool description: | If set, disables loading environment config from config file. - experimental: true - name: disable-config-env type: bool description: | If set, disables loading environment config from environment variables. - experimental: true - name: log-level type: string-enum enum-values: