helix/dna/cmd/
filter.rs

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