mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
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:
parent
948c0f151b
commit
a444e59668
11 changed files with 168 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue