Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show generate-shell-completion command in
uv help
(#6180)
Resolve #6151 ## Test Plan Execution result of `cargo run -- help` ```bash An extremely fast Python package manager. Usage: uv [OPTIONS] <COMMAND> Commands: run Run a command or script (experimental) init Create a new project (experimental) add Add dependencies to the project (experimental) remove Remove dependencies from the project (experimental) sync Update the project's environment (experimental) lock Update the project's lockfile (experimental) tree Display the project's dependency tree (experimental) tool Run and install commands provided by Python packages (experimental) python Manage Python versions and installations (experimental) pip Manage Python packages with a pip-compatible interface venv Create a virtual environment cache Manage uv's cache version Display uv's version generate-shell-completion Generate shell completion help Display documentation for a command ... ``` Execution result of `cargo run -- -h` and `cargo run -- --help` ```bash An extremely fast Python package manager. Usage: uv [OPTIONS] <COMMAND> Commands: run Run a command or script (experimental) init Create a new project (experimental) add Add dependencies to the project (experimental) remove Remove dependencies from the project (experimental) sync Update the project's environment (experimental) lock Update the project's lockfile (experimental) tree Display the project's dependency tree (experimental) tool Run and install commands provided by Python packages (experimental) python Manage Python versions and installations (experimental) pip Manage Python packages with a pip-compatible interface venv Create a virtual environment cache Manage uv's cache version Display uv's version help Display documentation for a command ... ```
- Loading branch information