Add subcommand aliases

This commit is contained in:
Joscha 2025-05-03 01:01:04 +02:00
parent 1ed358a0b2
commit 19c53e0ee8
2 changed files with 12 additions and 0 deletions

View file

@ -10,9 +10,16 @@ use crate::Environment;
/// Perform repo operations.
#[derive(Debug, Parser)]
pub enum Command {
#[command(visible_alias = "l")]
List(list::Command),
#[command(visible_alias = "s")]
Show(show::Command),
#[command(visible_alias = "a")]
Add(add::Command),
#[command(visible_alias = "r")]
Remove(remove::Command),
}