feat(tui): wizard uses PlanForce preview when Force is set

This commit is contained in:
MDietermann
2026-04-14 22:24:49 +02:00
parent 48d50efe19
commit ee3bb1d67c
3 changed files with 117 additions and 39 deletions

View File

@@ -31,6 +31,10 @@ type WizardState struct {
Parallelism int // advanced; reserved for a future concurrent engine
HaltOnError bool // advanced
Confirmed bool // true once the user hits Confirm on the last screen
// Force mirrors the --force CLI flag: when true, the wizard's per-module
// plan preview uses PlanForce instead of Detect + Plan, and the header
// shows a "Force mode" banner.
Force bool
}
// NewWizardState builds an initial state from the running config and the