Command Line interface

teachbooks

TeachBooks command line tools

teachbooks [OPTIONS] COMMAND [ARGS]...

build

Pre-process book contents and run the Jupyter Book build command

teachbooks build [OPTIONS] PATH_SOURCE

Options

--publish

Target publish version of the book. Removes any sections surrounded by REMOVE-FROM-PUBLISH tags from _config.yml and _toc.yml

--process-only

Only pre-process content, do not build the book

Arguments

PATH_SOURCE

Required argument

serve

Start a web server to interact with the book locally

teachbooks serve [OPTIONS] COMMAND [ARGS]...

stop

Stop the webserver

teachbooks serve stop [OPTIONS]