diff options
Diffstat (limited to 'panfry/cli.py')
| -rwxr-xr-x | panfry/cli.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/panfry/cli.py b/panfry/cli.py index 3ec6151..6949474 100755 --- a/panfry/cli.py +++ b/panfry/cli.py @@ -97,6 +97,22 @@ Args: default: False help: 'Remove pub path and all contents before generating' + pandoc_options: + flags: [-O, --pandoc-options] + default: '' + help: | + Space delimited list of options to pass to Pandoc. + Options must be in the long format without the leading + double dash. + + Example --pandoc-options="smart base-header-level=2" + + port: + flags: [-P, --port] + default: 8080 + help: 'HTTP port' + + Parser: help: @@ -116,6 +132,13 @@ Subparsers: - assets - clean - css + - pandoc_options + + serve: + help: start simple http server in current directory + args: + - port + - pub_path """ config = yaml.load(cli_config) |
