diff options
| author | Scott Bahling <sbahling@suse.de> | 2013-03-23 14:49:42 +0100 |
|---|---|---|
| committer | Scott Bahling <sbahling@suse.de> | 2013-03-23 14:49:42 +0100 |
| commit | 74edbf065728498c38f1975c97b7d16f40d1903c (patch) | |
| tree | dbbd610f899b16447a09e7dc36e975c042404b05 /panfry/cli.py | |
| parent | a62783371454942e4edc1aa6e23b7deb76a268a4 (diff) | |
| download | panfry-74edbf065728498c38f1975c97b7d16f40d1903c.tar.gz panfry-74edbf065728498c38f1975c97b7d16f40d1903c.tar.xz panfry-74edbf065728498c38f1975c97b7d16f40d1903c.zip | |
New document file structure
- Document source is to be found under srcdir/src
- Templates under srcdir/templates
- Assets under srcdir/assets
Assets are any files/directories that should be copied to
the pubdir but are otherwise unprocessed by panfry.
- By default pubdir = srcdir/pub
Diffstat (limited to 'panfry/cli.py')
| -rwxr-xr-x | panfry/cli.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/panfry/cli.py b/panfry/cli.py index 9beae43..6045e31 100755 --- a/panfry/cli.py +++ b/panfry/cli.py @@ -85,6 +85,18 @@ Args: default: False help: 'Do not generate full level table of contents' + assets: + flags: [--assets] + action: store_true + default: False + help: 'Only copy assets to pub (do not regenerate document)' + + clean: + flags: [--clean] + action: store_true + default: False + help: 'Remove pub path and all contents before generating' + Parser: help: @@ -101,6 +113,8 @@ Subparsers: - pub_path - templates_path - simple_toc + - assets + - clean - css """ |
