aboutsummaryrefslogtreecommitdiff
path: root/lib/main.bash
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2024-04-02 09:32:25 +0200
committerPatrick Spek <p.spek@tyil.nl>2024-04-02 09:32:25 +0200
commit5ae54c278477e9d975410892d9f6b0995f9a2dcc (patch)
treeed10140a9e6dfda7301a9a4764b677c921f4427a /lib/main.bash
parent87500911e02142fa7877f980818620042707ae5f (diff)
Implement zap
Diffstat (limited to 'lib/main.bash')
-rw-r--r--lib/main.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/main.bash b/lib/main.bash
index 57f1559..196bbbf 100644
--- a/lib/main.bash
+++ b/lib/main.bash
@@ -89,6 +89,7 @@ Usage:
$BASHTARD_NAME top
$BASHTARD_NAME var [-p <playbook>] <key>
$BASHTARD_NAME var [-s] <key> <value>
+ $BASHTARD_NAME zap <playbook>
Perform maintenance on your infra.
@@ -105,6 +106,8 @@ Commands:
sysinfo Show gathered information about this system.
top Show resource information about all known hosts.
var Show or set the value of a given configuration key.
+ zap Remove a playbook from the registry without attempting to run
+ the delete step from the playbook.
EOF
if [[ ! -d "$BASHTARD_ETCDIR/playbooks.d" ]]