From fa07d57caa4979c22676cdd9daebb2b67b5d8f1b Mon Sep 17 00:00:00 2001 From: Jacob Coffee Date: Wed, 25 Sep 2024 23:15:48 -0500 Subject: [PATCH] doc: add alias context to tool run --help command --- crates/uv-cli/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index 68b4dba9aada..98f4a57b0319 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -3174,6 +3174,11 @@ pub enum ToolCommand { /// /// Packages are installed into an ephemeral virtual environment in the uv /// cache directory. + #[command( + about = "Run a command provided by a Python package. Also available via the alias `uvx`.", + after_help = "You can also use `uvx` as an alias for `uv tool run`. \n\ + Use `uv help tool run` for more details." + )] Run(ToolRunArgs), /// Hidden alias for `uv tool run` for the `uvx` command #[command(