Add uv tool list (#4630)

What it says on the tin.

We skip tools with malformed receipts now and warn instead of failing
all tool operations.
This commit is contained in:
Zanie Blue 2024-06-28 18:00:18 -04:00 committed by GitHub
parent 948c0f151b
commit a444e59668
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 168 additions and 3 deletions

View file

@ -1873,6 +1873,8 @@ pub enum ToolCommand {
Run(ToolRunArgs),
/// Install a tool
Install(ToolInstallArgs),
/// List installed tools.
List(ToolListArgs),
}
#[derive(Args)]
@ -1969,6 +1971,10 @@ pub struct ToolInstallArgs {
pub python: Option<String>,
}
#[derive(Args)]
#[allow(clippy::struct_excessive_bools)]
pub struct ToolListArgs;
#[derive(Args)]
#[allow(clippy::struct_excessive_bools)]
pub struct ToolchainNamespace {