Template::Tools(3)
π NAME π
Template::Tools β Command Line Tools for the Template Toolkit π
ok so this is the page for the Template Toolkit's command line tools β the little scripts that actually do stuff with your templates from the terminal. main character energy fr fr β¨
π Template Tools π
The Template Toolkit ships with these command line tools for processing templates. two of them, both iconic, both lowkey essential π
π¦ tpage
The tpage script can be used to process a single template using the Template Toolkit. one template, one job, no cap π
$ tpage --define msg="Hello World" greeting.tt2
and yeah, if you're sitting there like "bestie what are the options tho" β use the -h option to get a summary of options:
$ tpage -h
See the Template::Tools::tpage documentation for further information and examples of use. that's where the full lore lives, iykyk π
πΈ ttree
The ttree script can be used to process an entire directory of templates. whole directory. all at once. it's giving efficiency ππ₯
$ ttree --src /path/to/templates --dest /path/to/output
same deal as before β the -h option gets you a summary of options:
$ ttree -h
See the Template::Tools::ttree documentation for further information and examples of use. go read it, it ate π«Ά
ngl that's the whole page β two tools, both slay, no filler. π
that's a wrap bestie β this page came from perl v5.42.0 and it's dated 2024-06-23 π§β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Template-Toolkit 3.102.0-bp160.1.13 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Template-Toolkit 3.102.0-bp160.1.13 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Template-Toolkit 3.102.0-bp160.1.13 Β· Artistic-1.0 OR GPL-1.0-or-later
- opensuse-leap 16.0: perl-Template-Toolkit 3.102.0-bp160.1.13 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms