Zrodlo/Docs

zrodlo corpus delete

Remove a corpus directory; refused without --confirm.

Usage#

sh
zrodlo corpus delete --corpus corpus/ --confirm

Flags#

FlagRequiredDescription
--corpusyesThe corpus directory to remove
--confirmswitchConfirm the removal, which cannot be undone

What it does#

Removes a directory whose corpus.json is a Zrodlo manifest and that holds only tokens.bin and corpus.json.

Refusals#

It refuses a directory corpus inspect refuses as no Zrodlo corpus, with that command's sentence. Nothing is removed when it refuses:

  • <path> holds <name>, which Zrodlo does not write into a corpus directory; move it out, then delete the corpus again
  • corpus delete removes <path> and its files <files>, which cannot be undone; pass --confirm to delete it