feat: Make the name
option in edit
& add
as argument #29
1 changed files with 1 additions and 2 deletions
|
@ -45,7 +45,6 @@ pub enum Format {
|
||||||
#[derive(Clone, Debug, Deserialize, Serialize, Parser)]
|
#[derive(Clone, Debug, Deserialize, Serialize, Parser)]
|
||||||
pub struct Vault {
|
pub struct Vault {
|
||||||
/// The name of the vault
|
/// The name of the vault
|
||||||
#[arg(short, long)]
|
|
||||||
pub name: String,
|
pub name: String,
|
||||||
/// The username
|
/// The username
|
||||||
#[arg(short, long)]
|
#[arg(short, long)]
|
||||||
|
@ -57,7 +56,7 @@ pub struct Vault {
|
||||||
#[arg(short, long)]
|
#[arg(short, long)]
|
||||||
pub service: Option<String>,
|
pub service: Option<String>,
|
||||||
/// Add a note to the vault
|
/// Add a note to the vault
|
||||||
#[arg(short = 'o', long)]
|
#[arg(short, long)]
|
||||||
pub note: Option<String>,
|
pub note: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue