Title: Feature request: Add dedicated command to switch between existing profiles (avoid accidental creation) · Issue #182 · apache/cloudstack-cloudmonkey · GitHub
Open Graph Title: Feature request: Add dedicated command to switch between existing profiles (avoid accidental creation) · Issue #182 · apache/cloudstack-cloudmonkey
X Title: Feature request: Add dedicated command to switch between existing profiles (avoid accidental creation) · Issue #182 · apache/cloudstack-cloudmonkey
Description: Hi! I’ve been using CloudMonkey with multiple profiles and noticed a usability issue with the current set profile command. Right now, set profile serves both to create a new profile and to switch to an existing profile: When creating a p...
Open Graph Description: Hi! I’ve been using CloudMonkey with multiple profiles and noticed a usability issue with the current set profile command. Right now, set profile serves both to create a new profile and to switch t...
X Description: Hi! I’ve been using CloudMonkey with multiple profiles and noticed a usability issue with the current set profile command. Right now, set profile serves both to create a new profile and to switch t...
Opengraph URL: https://github.com/apache/cloudstack-cloudmonkey/issues/182
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature request: Add dedicated command to switch between existing profiles (avoid accidental creation)","articleBody":"\nHi! I’ve been using CloudMonkey with multiple profiles and noticed a usability issue with the current set profile command.\n\nRight now, set profile \u003cname\u003e serves both to create a new profile and to switch to an existing profile:\n\n* When creating a profile, you run:\n\nset profile \u003cnew_profile_name\u003e\nset url \u003capi_url\u003e\nset apikey \u003capi_key\u003e\nset secretkey \u003csecret_key\u003e\n[optional: set username / set domain]\n\n* When switching between profiles, you also run:\n\nset profile \u003cexisting_profile_name\u003e\n\nThe problem is that if you mistype the profile name when trying to switch, CloudMonkey silently creates a new empty profile instead of switching, which can be confusing and lead to misconfiguration.\n\n\nProposal:\n\nAdd a dedicated command for switching between existing profiles — one that does not create new profiles if the name doesn’t match.\nFor example:\n\nswitch profile \u003cprofile_name\u003e\n\nor\n\nuse profile \u003cprofile_name\u003e\n\n\nThis would:\n\n* Prevent accidental creation of unwanted profiles.\n* Make the intent clearer by separating profile creation from profile switching.\n* Improve usability when working with multiple CloudStack connections.\n\nThe current set profile could remain for profile creation/configuration to preserve backward compatibility.\n\n\n\n\n","author":{"url":"https://github.com/luganofer","@type":"Person","name":"luganofer"},"datePublished":"2025-08-12T21:52:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/182/cloudstack-cloudmonkey/issues/182"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6bb1f007-0902-b266-ad18-b6e2028edaec |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5E4:55ECD:1995487:218777D:6982C479 |
| html-safe-nonce | 67197fdea6d2b698929bcf898d197e51ee1ed69c139d2186075b91d40a87f014 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUU0OjU1RUNEOjE5OTU0ODc6MjE4Nzc3RDo2OTgyQzQ3OSIsInZpc2l0b3JfaWQiOiI5MDM4Mzk3MTc3Mzk0ODA3OTI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2ff5e788421cfc88ae0cf102eede7c55a387c2c657d175ba98d0abaf1cfaab00 |
| hovercard-subject-tag | issue:3316066158 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack-cloudmonkey/182/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5d125906e4a2f73d55964e897b1e43aed47cadea106be3c99e5822eefa9018de/apache/cloudstack-cloudmonkey/issues/182 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5d125906e4a2f73d55964e897b1e43aed47cadea106be3c99e5822eefa9018de/apache/cloudstack-cloudmonkey/issues/182 |
| og:image:alt | Hi! I’ve been using CloudMonkey with multiple profiles and noticed a usability issue with the current set profile command. Right now, set profile serves both to create a new profile and to switch t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | luganofer |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6741528aa4d4ba81c57bbff8f8cc0de0e9115cb2993431dc9dac8d489f7b4ee |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack-cloudmonkey git https://github.com/apache/cloudstack-cloudmonkey.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 13641478 |
| octolytics-dimension-repository_nwo | apache/cloudstack-cloudmonkey |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13641478 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack-cloudmonkey |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0d080c1322b22304d6fea611572ebc81cf3ab3d8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width