template-tool(1)

NAME

template-tool - Slash templates management tool

SYNOPSIS

template-tool [options] [template] ...  [ -u  virtual_user
] [ -i template_id ] [ -f filename ] [ -O directory ] [ -P page ]
[ -S section [ -P page ] [ template[ ...] ] ]

DESCRIPTION

template-tool creates, saves, updates or deletes Slash
templates.

OPTIONS

-h Print a help message and exit.

-v Show version.

-u virtual_user
virtual user as defined in /etc/dbix-password.conf.
Defaults to slash.
-B Generate a blank template. You should specify the
name of the file after the option.
-d Dump template.
-i tpid
Use template id tpid instead of template name.
-m pattern
Only perform list and get actions if the template
matches pattern.
-l List template(s) and their description.
-f filename
Specify the filename of template being dumped or
created (single template).
-r template[ ...]
Delete template(s).
-s file[ ...]
Create/save/update template from the given file.
Section, page and template name are derived from file name. If
you supply a section and/or page and you're reading files out of
a directory, those templates will be saved with those sections.
If you want to read from a directory and not have your section or
page changed, don't provide these arguments.
-O directory
Specify the directory where templates are saved and
created. If omitted, default to ./
-P comma-separated list of plugin names
-S section [ -P page ] [ template[ ...] ] ]
Specify the section, page and template for listing
and dumping functions. If template[ ...] is omitted, then it de
faults to all templates in the section/page. If both page and
section are defined, then it specifies the templates for a page
and section. All other template fields should be modified via
web interface.
-c template[ ...]
Compile template into Perl code for testing. Com
piled template is saved as template.ttc in the destination direc
tory.

AUTHOR

This manual page was written by Eric Van Buggenhaut <er
icvb@debian.org>, for the Debian GNU/Linux system (but may be
used by others).

02/21/2003
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout