Template


Attributes

a egg_plugins

[]

a read_vars_from_templates

False

a required_templates

[]

a template_renderer

None

a use_cheetah

False

a vars

[]

Methods

f __init__(self, name) ...

f module_dir(self) ...

Returns the module directory of this template.

f template_dir(self) ...

f run(self, command, output_dir, vars) ...

f check_vars(self, vars, cmd) ...

f read_vars(self, command=None) ...

f write_files(self, command, output_dir, vars) ...

f print_vars(self, indent=0) ...

f pre(self, command, output_dir, vars) ...

Called before template is applied.

f post(self, command, output_dir, vars) ...

Called after template is applied.

See the source for more information.