Skip to content

Commit

Permalink
add alias for pip (i, install),(u, uninstall)
Browse files Browse the repository at this point in the history
  • Loading branch information
leowzz committed Aug 3, 2024
1 parent 35b9824 commit d5097fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/uv-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,14 +371,16 @@ pub enum PipCommand {
Sync(Box<PipSyncArgs>),
/// Install packages into an environment.
#[command(
alias = "i",
after_help = "Use `uv help pip install` for more details.",
after_long_help = ""
after_long_help = "",
)]
Install(PipInstallArgs),
/// Uninstall packages from an environment.
#[command(
alias = "u",
after_help = "Use `uv help pip uninstall` for more details.",
after_long_help = ""
after_long_help = "",
)]
Uninstall(PipUninstallArgs),
/// List, in requirements format, packages installed in an environment.
Expand Down

0 comments on commit d5097fe

Please sign in to comment.