Skip to main content

bw/command/
delete.rs

1use clap::Subcommand;
2
3use crate::{
4    admin_console::DeleteOrgCollectionArgs,
5    vault::{DeleteAttachmentArgs, DeleteFolderArgs, DeleteItemArgs},
6};
7
8#[derive(Subcommand, Clone)]
9pub enum DeleteCommands {
10    #[command(about = "Delete an item from the vault.")]
11    Item(DeleteItemArgs),
12
13    #[command(about = "Delete an attachment from an item.")]
14    Attachment(DeleteAttachmentArgs),
15
16    #[command(about = "Delete a folder.")]
17    Folder(DeleteFolderArgs),
18
19    #[command(about = "Delete an organization collection.")]
20    OrgCollection(DeleteOrgCollectionArgs),
21}