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