diff options
| author | Scott Bahling <sbahling@suse.de> | 2013-04-12 11:48:07 +0200 |
|---|---|---|
| committer | Scott Bahling <sbahling@suse.de> | 2013-04-12 11:48:07 +0200 |
| commit | 094530f92d678f9c2f2ad498a2c21653de399a99 (patch) | |
| tree | 6e6d2d9b20b1bf1f3407d1d042a0d12ef92d49c9 /panfry/cli.py | |
| parent | 7eba8bd7180f538c1bfdd338abf6c858ba9dfb67 (diff) | |
| download | panfry-094530f92d678f9c2f2ad498a2c21653de399a99.tar.gz panfry-094530f92d678f9c2f2ad498a2c21653de399a99.tar.xz panfry-094530f92d678f9c2f2ad498a2c21653de399a99.zip | |
Implement json TOC
Diffstat (limited to 'panfry/cli.py')
| -rwxr-xr-x | panfry/cli.py | 9 |
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 |
