Weles/Docs

CLI command

weles documents prune

Name the copies of one document beyond the newest --keep, and with --yes remove each file with its record; --keep is a whole number of at least 1, so the newest copy always stays, and a copy that cannot be removed is refused by name.

Purpose#

Name the copies of one document beyond the newest --keep, and with --yes remove each file with its record; --keep is a whole number of at least 1, so the newest copy always stays, and a copy that cannot be removed is refused by name.

Invocation#

Usage
weles documents prune --document <platform.verb> --keep <n> [--yes] [--json]

Options#

Options of weles documents prune
OptionEffect
--documentweles --help names this option in the usage line and gives it no description.
--keepweles --help names this option in the usage line and gives it no description.
--yesweles --help names this option in the usage line and gives it no description.
--jsonPrint the answer as one JSON document instead of key: value lines. release surface always prints its JSON document: it is the file a release carries.

Help#

`weles documents prune --help` prints these usage lines and never runs the command.