Skip to content

feature: add switch profile command - #192

Merged
borisstoyanov merged 2 commits into
apache:mainfrom
shwstppr:add-new-profilecmd
Aug 19, 2026
Merged

feature: add switch profile command#192
borisstoyanov merged 2 commits into
apache:mainfrom
shwstppr:add-new-profilecmd

Conversation

@shwstppr

Copy link
Copy Markdown
Contributor

Fixes #182

Adds a switch profile command to safely load an existing profile without creating a new profile.

Fixes apache#182

Adds a switch profile command to safely load an existing profile without
creating a new profile.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr shwstppr added this to the 6.6.0 milestone Aug 27, 2025
@github-actions

github-actions Bot commented Aug 27, 2025

Copy link
Copy Markdown

✅ Build complete for PR #192.

📦 Binary artifacts are available in the workflow run (expires on March 03, 2026).

Note: Download artifacts by clicking on the workflow run link above, then scroll to the "Artifacts" section.
Artifacts from PR builds are for testing only and may contain unreviewed, malicious code.

@DaanHoogland

Copy link
Copy Markdown
Contributor

@luganofer can you test if this addresses your issue #192 to satisfaction?

@DaanHoogland DaanHoogland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, not tested yet

@shwstppr
shwstppr marked this pull request as ready for review September 1, 2025 16:26

@borisstoyanov borisstoyanov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

(qa-server) 🐱 > switch profile admin
Loaded server profile: admin
Url:        http://qa.cloudstack.cloud/api/
Username:   bobby
Domain:     /
API Key:    ...
Total APIs: 905

(admin) 🐱 > switch profile qa-server
Loaded server profile: qa-server
Url:        https://qa.cloudstack.cloud/client/api
Username:   admin
Domain:     /
API Key:    ...
Total APIs: 905

(qa-server) 🐱 >

@borisstoyanov
borisstoyanov merged commit df41d70 into apache:main Aug 19, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Add dedicated command to switch between existing profiles (avoid accidental creation)

3 participants