protected internal override void Execute() { ConfigCli configCli = ConfigCli.Load(); string environmentNameOld = configCli.EnvironmentName; if (UtilCli.ArgumentValueIsDelete(this, argumentName)) { if (UtilCli.ArgumentValue(this, argumentName, out string name)) { configCli.EnvironmentName = name?.ToUpper(); } } configCli.EnvironmentGet(); // Get or init if (configCli.EnvironmentName != environmentNameOld) { ConsoleWriteLineCurrentEnvironment(configCli); } ConfigCli.Save(configCli); }