40 lines
1015 B
ReStructuredText
40 lines
1015 B
ReStructuredText
:title: Command Line Interface
|
|
:date: 2022-09-30
|
|
|
|
======================
|
|
Command Line Interface
|
|
======================
|
|
|
|
::
|
|
|
|
Usage: rsw init [--no-makefile] [<name>]
|
|
rsw build [-c <file>]
|
|
rsw print [-c <file>] [--default] [--json]
|
|
rsw (-h | --help | -v | --version)
|
|
|
|
Commands:
|
|
init initialise new site.
|
|
build build site.
|
|
print print configuration.
|
|
|
|
Options:
|
|
-c <file>, --config <file> configuaration file.
|
|
-j, --json JSON output.
|
|
-d, --default print default config.
|
|
-M, --no-makefile do not create Makefile.
|
|
-h, --help print this help message and exit.
|
|
-v, --version print version and exit.
|
|
|
|
Makefile usage
|
|
==============
|
|
|
|
::
|
|
|
|
Available targets:
|
|
|
|
build build HTML
|
|
serve run local HTTP server
|
|
css <theme> generate Pygments stylesheet
|
|
|
|
Run make without target to build html
|