File: Tools.pod

package info (click to toggle)
libtemplate-perl 2.24-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 8,660 kB
  • sloc: perl: 14,518; makefile: 15; sh: 5
file content (65 lines) | stat: -rw-r--r-- 1,527 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#============================================================= -*-perl-*-
#
# Template::Tools
#
# DESCRIPTION
#   Index page for documentation about the command line tools
#   distributed with the Template Toolkit.
#
# AUTHOR
#   Andy Wardley  <abw@wardley.org>
#
# COPYRIGHT
#   Copyright (C) 1996-2007 Andy Wardley.  All Rights Reserved.
#
#   This module is free software; you can redistribute it and/or
#   modify it under the same terms as Perl itself.
#
#========================================================================

=head1 NAME

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

=head1 Template Tools

The Template Toolkit includes the following command line tools
for processing templates.

=head2 tpage

The L<tpage|Template::Tools::tpage> script can be used to process
a single template using the Template Toolkit.

    $ tpage --define msg="Hello World" greeting.tt2

Use the C<-h> option to get a summary of options:

    $ tpage -h

See the L<Template::Tools::tpage> documentation for further information
and examples of use.

=head2 ttree

The L<ttree|Template::Tools::ttree> script can be used to process
an entire directory of templates.

    $ ttree --src /path/to/templates --dest /path/to/output

Use the C<-h> option to get a summary of options:

    $ ttree -h

See the L<Template::Tools::ttree> documentation for further information
and examples of use.

=cut

# Local Variables:
# mode: perl
# perl-indent-level: 4
# indent-tabs-mode: nil
# End:
#
# vim: expandtab shiftwidth=4: