pub trait DryRunnable: Command {
// Required methods
fn execute_dry_run(&self) -> Result<String>;
fn is_dry_run(&self) -> bool;
}
Expand description
Trait for commands that support dry-run mode
Required Methods§
Sourcefn execute_dry_run(&self) -> Result<String>
fn execute_dry_run(&self) -> Result<String>
Execute the command in dry-run mode
Sourcefn is_dry_run(&self) -> bool
fn is_dry_run(&self) -> bool
Check if dry-run mode is enabled