Skip to content

Commit

Permalink
feat: Add subcommand aliases
Browse files Browse the repository at this point in the history
Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
  • Loading branch information
chawyehsu committed Jul 20, 2024
1 parent ed04db0 commit 9b254bd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,17 @@ pub struct Cli {
#[derive(Debug, Parser)]
pub enum Command {
Default(default::Args),

#[clap(visible_alias = "i")]
Install(install::Args),

Pin(pin::Args),

Show(show::Args),

Which(which::Args),

#[clap(visible_alias = "u")]
Update(update::Args),
}

Expand Down

0 comments on commit 9b254bd

Please sign in to comment.