From: noah morrison Date: Fri, 28 Nov 2014 15:09:12 +0000 (-0500) Subject: Updated the readme X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=696ae6c8ce77860cb68b8342e5f8e7234c9b2c56;p=chevron.git Updated the readme --- diff --git a/README.md b/README.md index cb37375..325e141 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,25 @@ USAGE Commandline usage: (if installed via pypi) ``` -$ chevron [data file] [template file] +usage: chevron [-h] [-d DATA] [-p PARTIALS_PATH] [-e PARTIALS_EXT] + [-l DEF_LDEL] [-r DEF_RDEL] + template + +positional arguments: + template The mustache file + +optional arguments: + -h, --help show this help message and exit + -d DATA, --data DATA The json data file + -p PARTIALS_PATH, --path PARTIALS_PATH + The directory where your partials reside + -e PARTIALS_EXT, --ext PARTIALS_EXT + The extension for your mustache partials, 'mustache' + by default + -l DEF_LDEL, --left-delimiter DEF_LDEL + The default left delimiter, "{{" by default. + -r DEF_RDEL, --right-delimiter DEF_RDEL + The default right delimiter, "}}" by default. ``` Python usage with strings @@ -125,6 +143,9 @@ $ pip install chevron TODO --- +* add postmortem debugging +* add caching of templates + * get popular * have people complain * fix those complaints