pub struct FixCommand {Show 18 fields
pub apply: bool,
pub dry_run: bool,
pub include_attached: bool,
pub format: String,
pub ns: Option<String>,
pub definition: Option<String>,
pub rule: Option<String>,
pub preset: Option<String>,
pub pattern: Option<String>,
pub replacement: Option<String>,
pub workflow: Option<String>,
pub verify: bool,
pub summary_only: bool,
pub replacement_name: Option<String>,
pub at: Option<String>,
pub expect_revision: Option<String>,
pub allow_dirty: bool,
pub allow_no_vcs: bool,
}Expand description
preview or apply compiler-guided migrations or reviewed structural source rewrites
Fields§
§apply: boolwrite applicable fixes atomically after validation
dry_run: boolexplicitly request preview mode; preview is also the default
include_attached: boolinclude definition tests and examples in supported migration rules
format: Stringoutput format: human (default), edn (primary structured data), or json (interoperability)
ns: Option<String>restrict fixes to one exact project namespace
definition: Option<String>restrict fixes to one definition; requires –ns
rule: Option<String>restrict fixes to one stable rule ID
preset: Option<String>select surface-latest-v1, surface-latest-v2, core-api-0.28-v1, or core-api-0.29-v1 migration rules
pattern: Option<String>match one exact Cirru source pattern with ?name subtree variables (reviewed syntax only)
replacement: Option<String>replacement Cirru template for –pattern; does not prove semantic equivalence
workflow: Option<String>compose a project workflow; currently supports strict
verify: boolverify a selected project workflow without mutating the snapshot
summary_only: boolshow strict verification status and failure locations without the full migration report
replacement_name: Option<String>replacement name required by rename-definition-v1 and rename-local-v1
at: Option<String>path of the local binding name for rename-local-v1, such as 3.1.0.0
expect_revision: Option<String>require the snapshot content to match this revision before applying
allow_dirty: boolallow applying while the Git working tree contains changes
allow_no_vcs: boolallow applying when the project is not inside a Git worktree