update cmdline

This commit is contained in:
wgroeneveld 2017-01-19 22:06:41 +01:00
parent 10250429ae
commit a906cbb84a
1 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,14 @@ See https://www.dokuwiki.org/wiki:syntax
**How do I run this thing?**
##### Running it from command line
Just use the main python class. It uses `argparse` - only provide one argument: the directory you want to parse:
```python main.py --dir='some_dokuwiki_root_dir'```
##### Including it into your python project:
Main wiring in `DokuWikiToHugo` - see the tests for an elaborate example.
```python