ctl_core/flags/dry_run.rs
1use clap::Args;
2
3/// `-n/--dry-run` with `--preview` as the visible alias.
4#[derive(Args, Clone, Debug, Default, Eq, PartialEq)]
5pub struct DryRunArgs {
6 /// Validate and print the plan. Write nothing.
7 #[arg(
8 short = 'n',
9 long,
10 visible_alias = "preview",
11 help_heading = "Execution"
12 )]
13 pub dry_run: bool,
14}