Skip to main content

supports_dry_run

Function supports_dry_run 

Source
pub fn supports_dry_run(command: &Command) -> bool
Expand description

Whether this command implements --dry-run.

C2 covers the operations that destroy state without a prior read: registry removal and import, remote unlink and rmdir, and the two secrets writes that can invalidate every stored credential at once. Transfers and exec are deliberately absent — their effect is the remote command itself, which this CLI cannot preview without running it.