helix/dna/cmd/
rm.rs

1use clap::Args;
2use std::path::PathBuf;
3
4
5#[derive(Args)]
6pub struct RemoveArgs {
7    /// Files to remove
8    #[arg(short, long)]
9    files: Vec<PathBuf>,
10}
11
12#[derive(clap::Subcommand)]
13pub enum RemoveCommands {
14    Remove(RemoveArgs),
15}
16
17pub async fn run(args: RemoveArgs) -> anyhow::Result<()> {
18    println!("Remove command with {} files", args.files.len());
19    Ok(())
20}