jessemiller/HamlPy — pull request #102 by Naddiseo (2012-10-19 22:44:46+00:00)
Title: Command line options for hamlpy-watcher

I've added options for hamlpy-watcher

Usage: hamlpy-watcher [-h] [-v] [-i EXT [EXT ...]] [-ext EXT] [-r S] input_dir [output_dir]

positional arguments:
input_dir Folder to watch
output_dir Destination folder

optional arguments:
-h, --help show this help message and exit
-v, --verbose Display verbose output
-i EXT [EXT ...], --input-extension EXT [EXT ...]
The file extensions to look for
-ext EXT, --extension EXT
The output file extension. Default is .html
-r S, --refresh S Refresh interval for files. Default is 3 seconds