aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 08:41:16 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 08:41:16 -0500
commiteada697a11da5db8446108fed7573af809d222cc (patch)
tree93eb06fcdf16496167d342502984411236b20df9 /scripts
parent659e90ad1b85eddee4b1d64afbcc0b1e4e8eef9f (diff)
downloadarchangel-eada697a11da5db8446108fed7573af809d222cc.tar.gz
archangel-eada697a11da5db8446108fed7573af809d222cc.zip
feat: add --name flag to zfssnapshot rollback and delete
I added --name NAME to rollback (single name) and --name NAME[,NAME...] to delete (comma-separated for multi-select) so scripted callers can drive the wrapper without fzf. The upcoming VM verification step in scripts/test-install.sh needs this. fzf is now conditional, required only when --name is omitted. The 10 new bats tests cover help-text mentions, parse success and failure modes (missing value, mutex with -s, unknown flag), fzf-bypass on both subcommands, and multi-name expansion on delete.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions