1XSLATE(1)             User Contributed Perl Documentation            XSLATE(1)
2
3
4

NAME

6       xslate - Process Xslate Templates
7

USAGE

9           # process paths
10           $ xslate [options...] target
11
12           -a --cache               Cache level
13           -t --type                Output content type (html | xml | text)
14           -E --engine              Template engine
15           -D --define              Define template variables (e.g. foo=bar)
16           -I --path                Include paths
17           --version                Print version information
18           --oe --output_encoding   Output encoding (default: UTF-8)
19           -M --module              Modules templates will use (e.g. name=sub1,sub2)
20           -e --eval                One line of template code
21           -s --syntax              Template syntax (e.g. TTerse)
22           -d --debug               Debugging flags
23           -x --suffix              Output suffix mapping (e.g. tx=html)
24           --ie --input_encoding    Input encoding (default: UTF-8)
25           -i --ignore              Regular expression the process will ignore
26           -c --cache_dir           Directory the cache files will be saved in
27           -o --dest                Destination directory
28           -w --verbose             Warning level (default: 2)
29
30           # one liners, with $ARGV and $ENV
31           xslate -e 'Hello, <: $ARGV[0] :> world!' Xslate
32           # => Hello, Xslate world!
33           xslate -MDigest::MD5=md5_hex -e '<: md5_hex($ARGV[0]) :>' 'foo bar'
34           # => 327b6f07435811239bc47e1544353273
35

DESCRIPTION

37       The "xslate" script is used to process entire directory trees
38       containing template files, or to process one liners.
39

ARGUMENTS

41   target
42       Specifies the target to be processed by Xslate.
43
44       If the target is a file, the file is processed, and "xslate" will exit
45       immediately. If the target is a directory, then the directory is
46       traversed and each file found is processed via "xslate".
47

AUTHOR

49       Maki, Daisuke (lestrrat)
50
51       Fuji, Goro (gfx)
52

SEE ALSO

54       Text::Xslate
55
56
57
58perl v5.36.0                      2022-07-22                         XSLATE(1)
Impressum