ai-dispatch 8.99.6

Multi-AI CLI team orchestrator
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Focused CLI parser tests for audit-related `aid run` flags.
// Exports: none; loaded by `cli/mod.rs` under `#[cfg(test)]`.
// Deps: clap Parser and the CLI command arg types.

use super::{Cli, Commands, command_args_a};
use clap::Parser;

#[test]
fn run_no_audit_flag_parses() {
    let cli = Cli::try_parse_from(["aid", "run", "codex", "task", "--no-audit"]).unwrap();
    match cli.command {
        Some(Commands::Run(command_args_a::RunArgs { no_audit, .. })) => assert!(no_audit),
        _ => panic!("expected Run"),
    }
}