feat: Support rm and ls aliases
Some checks failed
Check PR title / check_pr_title (pull_request) Failing after 3s
Rust CI / Rust CI (pull_request) Successful in 1m18s

Fixes: #18
This commit is contained in:
Awiteb 2024-04-30 00:41:14 +03:00
parent 9e20e17b3b
commit d4768934ac
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

View file

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