From 63b3bf82632d0477e1ec8e462298652758e8b5f0 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Tue, 2 Apr 2024 10:21:52 +0200 Subject: Document the new zap subcommand in the manpage --- share/doc/bashtard.1.scd | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/doc/bashtard.1.scd b/share/doc/bashtard.1.scd index 8f6e4b4..1a681e0 100644 --- a/share/doc/bashtard.1.scd +++ b/share/doc/bashtard.1.scd @@ -1,6 +1,6 @@ bashtard(1) -; SPDX-FileCopyrightText: 2023 Patrick Spek +; SPDX-FileCopyrightText: 2024 Patrick Spek ; SPDX-License-Identifier: AGPL-3.0-or-later # NAME @@ -21,6 +21,7 @@ bashtard - A Bash-based configuration management utility *bashtard* var [-p _playbook_] <_key_>++ *bashtard* var [-s] <_key_> <_value_>++ *bashtard* sysinfo +*bashtard* zap # DESCRIPTION @@ -91,6 +92,13 @@ configuration file. This variant accepts the *-s* option, to instead save it to the *secrets* file, which should only be readable by the user maintaining the system through *bashtard*. +## zap + +Removes a playbook from the registry. Unlike *del*, this will not attempt to run +the *del* function defined within the playbook. This functionality can be used +to remove the entry of a misbehaving playbook, or to be able to re-run the *add* +function on it. + # SEE ALSO - _bashtard(3)_ -- Functions and variables exposed by *bashtard* for use in -- cgit v1.1