scaff – A collection of utility library.
Contains utility functions to create scaffolding logic for developers
using pluggdapps frameworks.
Module contents
-
pluggdapps.utils.scaff.template_to_source(sourceroot, targetroot, _vars, **kwargs)[source]
Walk though sourceroot, reading each file and sub-directory,
creating the scaffolding logic under targetroot, using a dictionary
of variables _vars.
optional keyword arguments,
- force,
- if set to True, will blindly copy all the files from template to
target. Default is False, in which case, an intelligent merge will be
performed.
- verbose,
- will print a verbose output.