Releases: izxxr/prept
Releases · izxxr/prept
v0.2.0
Additions
- Add
BoilerplateInfo.variable_input_modeoption to change behavior of variables input prompt - Add support for template paths
- Add support for dynamic generation
- Add support for installation of boilerplates from git repositories
- Add
Context.stateattribute for propagating stateful information - Add
BoilerplateInfo.template_provider_paramsfor passing additional options to template providers
Enhancements and Changes
PreptCLIErrornow supports proper indentation formatting of multiline error message and hintTemplateProvider.renderhas been renamed toTemplateProvider.process_contentprept infonow shows the basic details (name, required/optional, summary) of template variablesBoilerplateInfo.template_providernow 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
.gitdirectory is now ignored at installation time.
Fixes
- Fix
BoilerplateInfo.allow_extra_variablesnot having any effect - Fix template provider not resolving through class name when
get_prept_template_providerfunction was defined - Fix resolution failure for template providers from modules present in current working or boilerplate directory
Find detailed changelog at https://prept.readthedocs.io/en/latest/changelog.html#v0-2-0
v0.1.0
Initial Release
Full Changelog: https://github.com/izxxr/prept/commits/0.1.0