To see the CLI commands available, run gerbil
at a command prompt:
$ gerbil
Usage:
gerbil {SUBCMD} [sub-command options & parameters]
where {SUBCMD} is one of:
help print comprehensive or per-cmd help
create
serve
clean
build
list
watchcontent
gerbil {-h|--help} or with no args at all prints this message.
gerbil --help-syntax gives general cligen syntax help.
Run "gerbil {help SUBCMD|SUBCMD --help}" to see help for just SUBCMD.
Run "gerbil help" to get *comprehensive* help.
This command is used to create new content. See examples here
Serves the website (default on port 5000). To serve on another port, set the
SERVER_PORT
environment variable, e.g.:
export SERVER_PORT=5002
Deletes files (e.g. HTML files) created during the build process.
Builds the markdown files into HTML files, along with breadcrumb navigation and topic pages.
Lists all of the articles created.
This is used to build a piece of content on an interval.
Leave a comment