Changelog#

v0.2.0#

Additions

Enhancements and Changes

  • PreptCLIError now supports proper indentation formatting of multiline error message and hint

  • TemplateProvider.render() has been renamed to TemplateProvider.process_content()

  • prept info now shows the basic details (name, required/optional, summary) of template variables

  • template_provider now takes spec in standard Python module format i.e. module:object

  • Output directories created by Prept are now properly cleaned up in case of errors during generation

  • .git directory is now ignored at installation time.

Fixes

  • Fix allow_extra_variables not having any effect

  • Fix template provider not resolving through class name when get_prept_template_provider() function was defined

  • Fix resolution failure for template providers from modules present in current working or boilerplate directory

v0.1.0#

Initial release