Skip to content

feat(completions): add prefix option and enhance plugin wrapper help#17

Merged
benbenbang merged 1 commit into
mainfrom
refactor/update
Mar 26, 2026
Merged

feat(completions): add prefix option and enhance plugin wrapper help#17
benbenbang merged 1 commit into
mainfrom
refactor/update

Conversation

@benbenbang

Copy link
Copy Markdown
Owner

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.

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
benbenbang enabled auto-merge (squash) March 26, 2026 18:26
@github-actions github-actions Bot added documentation Improvements or additions to documentation enhancement New feature or request triage labels Mar 26, 2026
@benbenbang
benbenbang merged commit 5937a03 into main Mar 26, 2026
2 checks passed
@benbenbang
benbenbang deleted the refactor/update branch March 26, 2026 18:26
@ptah-technical-app

Copy link
Copy Markdown

🎉 This PR is included in version 2.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request released triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant