uv/crates/uv-cli
bluss e9378be919
Generate shell completion for uvx (#7388)
## Summary

Generate shell completion for uvx.

Create a `uvx` toplevel command just for completion by combining `uv
tool uvx` (hidden alias for `uv tool run`) with global arguments. This
explicit combination is needed otherwise global arguments are missing
(if they are missing, clap debug assertions fail when `uv tool run`
arguments refer to global arguments in directives like conflicts with).


Fixes #7258 

## Test Plan

- Tested using bash using `eval "$(cargo run --bin uv
generate-shell-completion bash)"`
2024-09-17 03:27:19 +00:00
..
src Generate shell completion for uvx (#7388) 2024-09-17 03:27:19 +00:00
build.rs uv-cli: add worktree support to build.rs (#6825) 2024-08-29 14:11:50 -04:00
Cargo.toml Generate CLI reference for documentation (#5685) 2024-08-01 16:04:16 +00:00