chore: Remove unused attribute macros

This commit is contained in:
Awiteb 2024-05-19 05:29:11 +03:00
parent 0680189723
commit 6d079b0ae3
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F
9 changed files with 0 additions and 9 deletions

View file

@ -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)]

View file

@ -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;

View file

@ -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

View file

@ -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 {

View file

@ -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

View file

@ -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

View file

@ -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 {

View file

@ -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

View file

@ -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