Accept package names in the tool API (#4737)
## Summary It seems helpful that these _not_ accept arbitrary strings.
This commit is contained in:
@@ -2014,7 +2014,8 @@ pub struct ToolListArgs;
|
||||
#[derive(Args)]
|
||||
#[allow(clippy::struct_excessive_bools)]
|
||||
pub struct ToolUninstallArgs {
|
||||
pub name: String,
|
||||
/// The name of the tool to uninstall.
|
||||
pub name: PackageName,
|
||||
}
|
||||
|
||||
#[derive(Args)]
|
||||
|
||||
Reference in New Issue
Block a user