Expand description
wire nuke — hard reset of all wire state on the machine.
NukePlan::compute enumerates everything that would be removed
(paths, service units, host MCP entries, optionally the binary)
WITHOUT mutating anything — it is the dry-run output and the
execution input. NukePlan::execute performs the removal.
Structs§
- Nuke
Plan - Everything a nuke will tear down. Computed from the environment; pure (no mutation) so it can be printed for –dry-run / confirm.
- Nuke
Report - What a nuke actually did (for –json + operator output).
Functions§
- should_
proceed - Decide whether to proceed.
forcebypasses all prompts; otherwise a non-TTY refuses, and a TTY proceeds only on an exact “nuke” line.read_lineis injected so this is unit-testable.