Commit Graph
1 Commits
Author SHA1 Message Date
sneak 71a232d0f7 Exit 1 when a deletion prompt is not confirmed (closes #423)
check / check (push) Successful in 9m27s
`prune`, `snapshot purge`, `snapshot remove` and `database delete`
printed "Cancelled" or "Aborted." and exited 0 when the prompt was
answered no or stdin ended. They now return vaultik.ErrNotConfirmed,
so the command reports "deletion not confirmed" and exits 1.

`database delete` reads its answer from the command's stdin instead of
os.Stdin, so a test can supply it.

Model: opus-5-5
2026-11-11 01:19:06 +00:00