This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-cloudmonkey.git
commit 95bb688d89a298196ca4a02b653434f01d964c71 Author: Rohit Yadav <[email protected]> AuthorDate: Sun Apr 22 20:58:23 2018 +0530 set: display server profile details when profile is `set` Signed-off-by: Rohit Yadav <[email protected]> --- cmd/set.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cmd/set.go b/cmd/set.go index 5c66f1b..961decb 100644 --- a/cmd/set.go +++ b/cmd/set.go @@ -49,6 +49,14 @@ func init() { r.Config.UpdateConfig(subCommand, value) if subCommand == "profile" && r.Shell != nil { + fmt.Println("Loaded server profile:", r.Config.Core.ProfileName) + fmt.Println("Url: ", r.Config.ActiveProfile.URL) + fmt.Println("Username: ", r.Config.ActiveProfile.Username) + fmt.Println("Domain: ", r.Config.ActiveProfile.Domain) + fmt.Println("API Key: ", r.Config.ActiveProfile.APIKey) + fmt.Println("Verify Cert:", r.Config.ActiveProfile.VerifyCert) + fmt.Println() + r.Shell.SetPrompt(r.Config.GetPrompt()) } return nil -- To stop receiving notification emails like this one, please contact [email protected].
