Skip to main content

plan

Function plan 

Source
pub fn plan(args: &PlanArgs) -> Result<(), String>
Expand description

Runs the command: inspects the source read-only, reads the target read-only, and either writes report.json, report.md and plan.json to --dir, or re-checks an approved plan with --apply --plan.

ยงErrors

A refusal or an access error. Blockers are in the plan and the exit code is zero; --apply fails (non-zero) on an unknown plan version, a project mismatch, drift or a remaining blocker.