NAME
xtemplate - (x)template expansion/serialization tool
SYNOPSIS
xtemplate [-d <data-file>|-D <data-expr>|-x <xml-file>|-y <yaml-file>]
[-t <template-file> | -T <serialized-template>]
[-o <output-file>]
[--with-eruby|--with-erb]
xtemplate -c <template-file> [-o <output-file>]
DESCRIPTION
OPTIONS FOR EXPANSION
- -d file
-
read input data from file which is written in Ruby.
- -D expr
-
get input data from expr as input data which is written in Ruby.
- -x file
-
read input data from file which is written in XML.
- -y file
-
read input data from file which is written in YAML.
- -t file
-
read (x)template from file.
- -T file
-
read serialized (x)template from file.
- -o file
-
output into file.
- --with-eruby
-
process (x)temlate file and/or XML input file as ERuby script befor expantion. (using eruby.)
- --with-erb
-
process (x)temlate file and/or XML input file as ERuby script befor expantion. (using ERb.)
OPTIONS FOR SERIALIZATION
- -c
-
read (x)template from file.
- -o
-
output serialized (x)template into file.
COMMON OPTIONS
- --show-time
-
print processing time.
- --use-amrita
-
use Amrita instead of XTemplate.
AUTHOR
This manual page was written by akira yamada <[email protected]>, for the Debian project (but may be used by others).