Skip to main content

bw/command/
edit.rs

1use clap::Subcommand;
2
3use crate::{
4    admin_console::EditOrgCollectionArgs,
5    vault::{EditFolderArgs, EditItemArgs, EditItemCollectionsArgs},
6};
7
8#[derive(Subcommand, Clone)]
9pub enum EditCommands {
10    #[command(about = "Edit an item in the vault.")]
11    Item(EditItemArgs),
12
13    #[command(about = "Edit an item's collections.")]
14    ItemCollections(EditItemCollectionsArgs),
15
16    #[command(about = "Edit a folder.")]
17    Folder(EditFolderArgs),
18
19    #[command(about = "Edit an organization collection.")]
20    OrgCollection(EditOrgCollectionArgs),
21}