blogin clean

Remove the output directory produced by a build, leaving the content, layouts, and configuration in place.

blogin clean [--out=<dir>]

Options#

--out=<dir>
the directory to remove. It defaults to the output-dir from blogin.json, or public when the config does not set one.
--verbose
prints extra detail.

The target must sit inside the current directory. A path outside it is refused so a stray --out cannot delete unrelated files. The command reports how many files it removed.

Example#

blogin clean --out=dist