niwa undo
Reverse the most recent apply
niwa undo [--yes]Flags
| Flag | Argument | Meaning |
|---|---|---|
--yes | — | Undo without asking |
-v, --verbose and --debug are global and this verb takes them too. The global flags table lists them.
Exit codes
| Code | When |
|---|---|
0 | The apply was reversed, or there was nothing to undo |
1 | A cancel, or a step that could not be reversed |
Next
- Safety and undo — explain the archive rule, the journal, and why there is no world rollback
- niwa — the next verb in this group
