Files
vaultik/internal/cli
sneak 34cf7cae01
check / check (push) Successful in 9m10s
Exit 1 when a deletion prompt is not confirmed (closes #423)
`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 02:18:18 +00:00
..