mdbook/book-example/src/cli/clean.md
Bulat Musin 6af77a7792 Update documentation to reflect addition of clean subcommand. (#607)
* update documentation

Update README.md and User Guide to reflect addition of `clean`
subcommand. Do minor spelling fixes too.

* fix grammar in `clean` documentation
2018-02-18 15:04:04 +08:00

450 B

The clean command

The clean command is used to delete the generated book and any other build artifacts.

mdbook clean

It will try to delete the built book. If a path is provided, it will be used.

Specify a directory

Like init, the clean command can take a directory as an argument to use instead of the normal build directory.

mdbook clean --dest-dir=path/to/book

path/to/book could be absolute or relative.