helix/dna/cmd/test.rs
1use clap::Args;
2
3#[derive(Args)]
4pub struct TestArgs {
5 /// Pattern (defaults to none)
6 #[arg(short, long)]
7 pattern: Option<String>,
8 #[arg(long)]
9 integration: bool,
10}
11
12#[derive(clap::Subcommand)]
13pub enum TestCommands {
14 Test(TestArgs),
15}
16
17pub async fn run(args: TestArgs) -> anyhow::Result<()> {
18 println!("Test command: pattern={:?}, integration={}", args.pattern, args.integration);
19 Ok(())
20}
21