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)]
5#[command(about = None, long_about = None)]
6pub struct DryRunArgs {
7 /// Validate and print the plan. Write nothing.
8 #[arg(
9 short = 'n',
10 long,
11 visible_alias = "preview",
12 help_heading = "Execution"
13 )]
14 pub dry_run: bool,
15}