Skip to content

feature: Change profiles using the cli#50

Merged
serkanyersen merged 1 commit into
serkanyersen:mainfrom
FlyinPancake:profile-change-cli
May 8, 2026
Merged

feature: Change profiles using the cli#50
serkanyersen merged 1 commit into
serkanyersen:mainfrom
FlyinPancake:profile-change-cli

Conversation

@FlyinPancake
Copy link
Copy Markdown
Contributor

Description

This PR adds the ability to view or change and activate the current profile and list all profiles.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code refactoring

Testing

  • I have tested this locally
  • I have added tests for new functionality
  • All existing tests pass

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Related Issues

Screenshots (if applicable)

Add screenshots to help explain your changes.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 10, 2026

@FlyinPancake is attempting to deploy a commit to the Serkan Yersen's projects Team on Vercel.

A member of the Team first needs to authorize it.

@FlyinPancake
Copy link
Copy Markdown
Contributor Author

@serkanyersen just pinging you for visibility

@serkanyersen serkanyersen force-pushed the profile-change-cli branch from 25b5aa1 to 56d90af Compare May 8, 2026 04:37
@serkanyersen
Copy link
Copy Markdown
Owner

@FlyinPancake sorry for late response, busy times. Checking now

@serkanyersen serkanyersen merged commit e13d879 into serkanyersen:main May 8, 2026
13 of 14 checks passed
@serkanyersen
Copy link
Copy Markdown
Owner

LGTM, merged. Thanks for the contribution 🎉

@FlyinPancake
Copy link
Copy Markdown
Contributor Author

@serkanyersen can you release a new version with this patch?

serkanyersen added a commit that referenced this pull request May 16, 2026
- cli/profiles.rs: replace hardcoded print_error/print_info with icons.*()
  so the user's icon_set is honored on every code path
- soften empty-manifest test (assert contains, not exact glyph)
- allow clippy::struct_field_names on test EnvGuard
- CHANGELOG: add Unreleased entry for `dotstate profile` commands
- website: document `profile`/`profile list`/`profile switch` on cli and
  profiles pages
@serkanyersen
Copy link
Copy Markdown
Owner

@serkanyersen can you release a new version with this patch?

yep, done. v0.3.3

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.

2 participants