1Template::Tools(3)    User Contributed Perl Documentation   Template::Tools(3)
2
3
4

NAME

6       Template::Tools - Command Line Tools for the Template Toolkit
7

Template Tools

9       The Template Toolkit includes the following command line tools for
10       processing templates.
11
12   tpage
13       The tpage script can be used to process a single template using the
14       Template Toolkit.
15
16           $ tpage --define msg="Hello World" greeting.tt2
17
18       Use the "-h" option to get a summary of options:
19
20           $ tpage -h
21
22       See the Template::Tools::tpage documentation for further information
23       and examples of use.
24
25   ttree
26       The ttree script can be used to process an entire directory of
27       templates.
28
29           $ ttree --src /path/to/templates --dest /path/to/output
30
31       Use the "-h" option to get a summary of options:
32
33           $ ttree -h
34
35       See the Template::Tools::ttree documentation for further information
36       and examples of use.
37
38
39
40perl v5.16.3                      2011-12-20                Template::Tools(3)
Impressum