Changelog#
v0.2.0#
Additions
Add
variable_input_modeoption to change behaviour of variables input promptAdd support for template paths
Add support for dynamic generation
Add support for installation of boilerplates from git repositories
Add
Context.stateattribute for propagating stateful informationAdd
BoilerplateInfo.template_provider_paramsfor passing additional options to template providers
Enhancements and Changes
PreptCLIErrornow supports proper indentation formatting of multiline error message and hintTemplateProvider.render()has been renamed toTemplateProvider.process_content()prept info now shows the basic details (name, required/optional, summary) of template variables
template_providernow takes spec in standard Python module format i.e.module:objectOutput directories created by Prept are now properly cleaned up in case of errors during generation
.gitdirectory is now ignored at installation time.
Fixes
Fix
allow_extra_variablesnot having any effectFix template provider not resolving through class name when
get_prept_template_provider()function was definedFix resolution failure for template providers from modules present in current working or boilerplate directory
v0.1.0#
Initial release