Skip to content

feat: add shell version switching - #1

Merged
Napreth merged 3 commits into
mainfrom
feat/shellswitch
Oct 29, 2026
Merged

Napreth merged 3 commits into
mainfrom
feat/shellswitch

Conversation

@Napreth

@Napreth Napreth commented Oct 29, 2026

Copy link
Copy Markdown
Owner

Summary

Add temporary environment version switching for PowerShell, CMD, and Git Bash.

  • Support shell, reg, and all scopes, defaulting to shell.
  • Update the current session's environment variables and PATH.
  • Add CLI version resolution without modifying the registry.
  • Include shell scripts in installation packages.
  • Add integration tests for all three shells, including special characters and console state preservation.

Testing

  • Shell integration tests passed on Windows x64.
  • CI passed on x86, x64, and ARM64.

Add PowerShell, CMD and sourced Git Bash entry points with explicit reg, shell and all scopes and positional or named version arguments. Resolve configured targets without writes and update the caller environment when requested.

Package and uninstall the scripts alongside the CLI. Cover scope behavior, PATH updates and literal argument handling with shell tests, and extend CLI and installer acceptance checks.
@Napreth
Napreth merged commit 282fd36 into main Oct 29, 2026
6 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.

1 participant