feat: Support rm and ls aliases #22

Merged
awiteb merged 2 commits from awiteb/fix-18 into master 2024-04-29 23:50:45 +02:00 AGit
Showing only changes of commit d4768934ac - Show all commits

View file

@ -34,9 +34,11 @@ pub mod remove_command;
pub enum Commands { pub enum Commands {
/// Add new vault /// Add new vault
Add(add_command::Add), Add(add_command::Add),
/// Remove vault /// Remove vault [alias `rm`]
#[command(alias = "rm")]
Remove(remove_command::Remove), Remove(remove_command::Remove),
/// List your vaults and search /// List your vaults and search [alias `ls`]
#[command(alias = "ls")]
List(list_command::List), List(list_command::List),
/// Clean the vaults file /// Clean the vaults file
Clean(clean_command::Clean), Clean(clean_command::Clean),