chore: Remove unused attribute macros
This commit is contained in:
parent
0680189723
commit
6d079b0ae3
9 changed files with 0 additions and 9 deletions
|
@ -26,7 +26,6 @@ use crate::{
|
|||
};
|
||||
|
||||
#[derive(Debug, Args)]
|
||||
#[command(author, version, about, long_about = None)]
|
||||
/// Add command, used to add new vault to the vaults file
|
||||
pub struct Add {
|
||||
#[command(flatten)]
|
||||
|
|
|
@ -21,7 +21,6 @@ use clap::Args;
|
|||
use crate::{vault::Vaults, LprsCommand, LprsError, LprsResult};
|
||||
|
||||
#[derive(Debug, Args)]
|
||||
#[command(author, version, about, long_about = None)]
|
||||
/// Clean command, used to clean the vaults file (remove all vaults)
|
||||
pub struct Clean;
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ use crate::{
|
|||
};
|
||||
|
||||
#[derive(Debug, Args)]
|
||||
#[command(author, version, about, long_about = None)]
|
||||
/// Edit command, used to edit the vault content
|
||||
pub struct Edit {
|
||||
/// The vault to edit, index or name
|
||||
|
|
|
@ -28,7 +28,6 @@ use crate::{
|
|||
};
|
||||
|
||||
#[derive(Debug, Args)]
|
||||
#[command(author, version, about, long_about = None)]
|
||||
/// Export command, used to export the vaults in `lprs` format or `BitWarden`
|
||||
/// format. The exported file will be a json file.
|
||||
pub struct Export {
|
||||
|
|
|
@ -21,7 +21,6 @@ use clap::Args;
|
|||
use crate::{vault::Vaults, LprsCommand, LprsError, LprsResult};
|
||||
|
||||
#[derive(Debug, Args)]
|
||||
#[command(author, version, about, long_about = None)]
|
||||
/// Generate command, used to generate a password
|
||||
pub struct Gen {
|
||||
/// The password length
|
||||
|
|
|
@ -91,7 +91,6 @@ impl VaultGetField {
|
|||
}
|
||||
|
||||
#[derive(Debug, Args)]
|
||||
#[command(author, version, about, long_about = None)]
|
||||
/// Command to get a entire vault or single field from it
|
||||
pub struct Get {
|
||||
/// Whether the index of the vault or its name
|
||||
|
|
|
@ -33,7 +33,6 @@ use crate::{
|
|||
};
|
||||
|
||||
#[derive(Debug, Args)]
|
||||
#[command(author, version, about, long_about = None)]
|
||||
/// Import command, used to import vaults from the exported files, `lprs` or
|
||||
/// `BitWarden`
|
||||
pub struct Import {
|
||||
|
|
|
@ -26,7 +26,6 @@ use crate::{
|
|||
};
|
||||
|
||||
#[derive(Debug, Args)]
|
||||
#[command(author, version, about, long_about = None)]
|
||||
/// List command, used to list the vaults and search
|
||||
pub struct List {
|
||||
/// Filter the select list
|
||||
|
|
|
@ -19,7 +19,6 @@ use clap::Args;
|
|||
use crate::{utils, vault::Vaults, LprsCommand, LprsResult};
|
||||
|
||||
#[derive(Debug, Args)]
|
||||
#[command(author, version, about, long_about = None)]
|
||||
/// Remove command, used to remove a vault from the vaults file
|
||||
pub struct Remove {
|
||||
/// The vault to remove, index or name
|
||||
|
|
Loading…
Reference in a new issue