From 048cc22c9e95ec4326c53b504f8b68ef2b9a27a8 Mon Sep 17 00:00:00 2001 From: "P.Shvedun" Date: Thu, 30 Nov 2023 23:42:18 +0200 Subject: [PATCH] Write EnvironmentName on command with default environment --- clio/Environment/ConfigurationOptions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/clio/Environment/ConfigurationOptions.cs b/clio/Environment/ConfigurationOptions.cs index c3040ab3..66e28ec7 100644 --- a/clio/Environment/ConfigurationOptions.cs +++ b/clio/Environment/ConfigurationOptions.cs @@ -288,6 +288,7 @@ public void ShowSettingsTo(TextWriter streamWriter, string environment = null) { public EnvironmentSettings GetEnvironment(string name = null) { if(string.IsNullOrWhiteSpace(name)) { var activeEnvironment = _settings.ActiveEnvironmentKey; + Console.WriteLine($"{activeEnvironment}: {_settings.Environments[activeEnvironment].Uri}"); return _settings.Environments[activeEnvironment]; } if(!_settings.Environments.TryGetValue(name, out EnvironmentSettings environment)) {