feat: Make the name option in edit & add as argument (#29)
All checks were successful
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m48s

Reviewed-on: #29

BREAKING-CHANGE: Change the `name` option to argument in `name` and `edit` commands
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-05-07 07:55:39 +02:00 committed by awiteb
parent 3436e616f8
commit 127f3779f8

View file

@ -45,7 +45,6 @@ pub enum Format {
#[derive(Clone, Debug, Deserialize, Serialize, Parser)]
pub struct Vault {
/// The name of the vault
#[arg(short, long)]
pub name: String,
/// The username
#[arg(short, long)]
@ -57,7 +56,7 @@ pub struct Vault {
#[arg(short, long)]
pub service: Option<String>,
/// Add a note to the vault
#[arg(short = 'o', long)]
#[arg(short, long)]
pub note: Option<String>,
}