Add uv tool list --show-paths to show install paths (#5164)

## Summary

Closes https://github.com/astral-sh/uv/issues/4823.
This commit is contained in:
Charlie Marsh 2024-07-17 19:11:13 -04:00 committed by GitHub
parent 6a49dba30c
commit 622e9e8799
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 74 additions and 13 deletions

View file

@ -2202,7 +2202,11 @@ pub struct ToolInstallArgs {
#[derive(Args)]
#[allow(clippy::struct_excessive_bools)]
pub struct ToolListArgs;
pub struct ToolListArgs {
/// Whether to display the path to each tool environment and installed executable.
#[arg(long)]
pub show_paths: bool,
}
#[derive(Args)]
#[allow(clippy::struct_excessive_bools)]