feat(completions): add prefix option and enhance plugin wrapper help#17
Merged
Conversation
This pull request adds a new `--prefix` option to distinguish between project name override and full prompt customization, and significantly improves the plugin wrapper's help documentation. The main changes are grouped below. **Command-line option enhancement:** * Added new `--prefix` option across all shell completions (bash, zsh, fish, nushell) that allows overriding just the project name in the prompt while keeping the `-pyX.XX` suffix, providing more granular control than the existing `--prompt` option. * Updated `--prompt` option description to clarify it replaces the auto-generated name entirely, distinguishing its behavior from the new `--prefix` option. **Plugin wrapper documentation:** * Added comprehensive help text in `adds-on/src/main.rs` explaining the plugin-aware wrapper functionality, including usage patterns, plugin dispatch mechanism, special commands, environment variables, and setup instructions. * Created new `adds-on/README.md` file to document the plugin wrapper system. * Enhanced the `uv-shell` help message in `src/main.rs` to include information about the plugin wrapper system and how `uv-<name>` binaries become callable as `uv <name>` subcommands.
benbenbang
enabled auto-merge (squash)
March 26, 2026 18:26
|
🎉 This PR is included in version 2.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request adds a new
--prefixoption to distinguish between project name override and full prompt customization, and significantly improves the plugin wrapper's help documentation. The main changes are grouped below.Command-line option enhancement:
--prefixoption across all shell completions (bash, zsh, fish, nushell) that allows overriding just the project name in the prompt while keeping the-pyX.XXsuffix, providing more granular control than the existing--promptoption.--promptoption description to clarify it replaces the auto-generated name entirely, distinguishing its behavior from the new--prefixoption.Plugin wrapper documentation:
adds-on/src/main.rsexplaining the plugin-aware wrapper functionality, including usage patterns, plugin dispatch mechanism, special commands, environment variables, and setup instructions.adds-on/README.mdfile to document the plugin wrapper system.uv-shellhelp message insrc/main.rsto include information about the plugin wrapper system and howuv-<name>binaries become callable asuv <name>subcommands.