Document micromamba shell command and fix CLI help text #4007
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
micromamba shell
command lacked proper documentation and had misleading CLI help text. This PR addresses the issue by:CLI Help Text Improvements
Comprehensive Documentation Added
Added detailed documentation to the user guide covering:
Shell Command Overview
Explains that
micromamba shell
serves dual purposes:Usage Examples
Complete Subcommand Documentation
init
- Add initialization scripts to shell RC filesdeinit
- Remove initialization scripts from shell RC filesreinit
- Restore initialization scripts in shell RC filesactivate
- Generate activation code for specified environmentdeactivate
- Generate deactivation code to leave current environmentreactivate
- Generate reactivation code to refresh current environmenthook
- Generate shell hook scripts for environment activationenable_long_path_support
- Enable long path support on WindowsSupported Shells
Documents all supported shells: bash, zsh, fish, powershell, cmd.exe, xonsh, tcsh, dash, nu, posix
Common Options
Complete documentation of
-s/--shell
,-p/--prefix
,-n/--name
,-r/--root-prefix
optionsThe changes are minimal and targeted - only 3 lines changed in source code plus comprehensive documentation. This makes the
micromamba shell
command much more discoverable and usable, especially in CI/CD environments and Docker containers.Fixes #2072.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.