diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 4b20292..50a598d 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -1,5 +1,10 @@ = PopPage Changelog +== poppage-0.5.3 (2017-10-23) +=== Added + - New `debug` CLI function. + - YAML tag `!def` to handle special logic for `__def__` YAML key. + == poppage-0.5.2 (2017-10-23) === Fixed - The OUTPATH defined in the `__def__` YAML key is now rooted at the utility working directory rather than the defaults file location. diff --git a/README.adoc b/README.adoc index f22e63e..339b256 100644 --- a/README.adoc +++ b/README.adoc @@ -68,6 +68,7 @@ The following custom YAML tags are provided: - `!file` - Reads value from a file as a string. - `!yaml` - Reads value from file as YAML. + - `!def` - Like `!yaml` but only for populating the `__def__` key. - `!cmd` - Reads value from a CLI command output. - `!ask` - Prompts the user to input a value. @@ -118,6 +119,10 @@ Check out these examples: inpath: template.jinja2 execute: python {{outpath}} + - Populate the options using a YAML file: + + __def__: !def mydefs.yaml + === Cookiecutter Compatiblity PopPage should be compatible with many https://github.com/audreyr/cookiecutter[cookiecutter] templates. Using https://github.com/solarnz/cookiecutter-avr as an example, check for the variables in the template: diff --git a/app/poppage.py b/app/poppage.py index bc98f61..cbddb86 100644 --- a/app/poppage.py +++ b/app/poppage.py @@ -80,7 +80,7 @@ ##==============================================================# #: Application version string. -__version__ = "0.5.2" +__version__ = "0.5.3" #: Key separator. KEYSEP = "::" diff --git a/app/setup.py b/app/setup.py index f0c3d33..0b4502b 100644 --- a/app/setup.py +++ b/app/setup.py @@ -22,7 +22,7 @@ setup( name = "poppage", - version = "0.5.2", + version = "0.5.3", author = "Jeff Rimko", author_email = "jeffrimko@gmail.com", description = "Utility for generating files and directories from templates.",