summaryrefslogtreecommitdiff
path: root/panfry/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'panfry/cli.py')
-rwxr-xr-xpanfry/cli.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/panfry/cli.py b/panfry/cli.py
index 6949474..650b724 100755
--- a/panfry/cli.py
+++ b/panfry/cli.py
@@ -107,6 +107,14 @@ Args:
Example --pandoc-options="smart base-header-level=2"
+ json_toc:
+ flags: [--json-toc]
+ action: store_true
+ default: False
+ help: |
+ Generate toc.json file instead of toc integrated in
+ the html
+
port:
flags: [-P, --port]
default: 8080
@@ -129,6 +137,7 @@ Subparsers:
- pub_path
- templates_path
- simple_toc
+ - json_toc
- assets
- clean
- css