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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH TEMPLATE-TOOL 1 "02/21/2003"
.\" Please adjust this date whenever revising the manpage.
.\"
.SH NAME
template-tool \- Slash templates management tool
.SH SYNOPSIS
.sp
.B template-tool
.RI [ options ]\ [ \fItemplate \fR]\ ...
[ \fB-u \fIvirtual_user\fR ]
[ \fB-i \fItemplate_id\fR ]
[ \fB-f \fIfilename\fR ]
[ \fB-O \fIdirectory\fR ]
[ \fB-P \fIpage\fR ]
[ \fB-S \fIsection\fR [ \fB-P \fIpage\fR ]\ [ \fItemplate\fR[ ...] ] ]
.SH DESCRIPTION
.B template-tool
creates, saves, updates or deletes Slash templates.
.SH OPTIONS
.TP
.B \-h
Print a help message and exit.
.TP
.B \-v
Show version.
.TP
.BI \-u\ virtual_user
virtual user as defined in \fB/etc/dbix-password.conf\fR. Defaults to \fIslash\fR.
.TP
.B \-B
Generate a blank template. You should specify the name of the file after the option.
.TP
.B \-d
Dump template.
.TP
.BI \-i\ tpid
Use template id \fItpid\fR instead of template name.
.TP
.BI \-m\ pattern
Only perform list and get actions if the template matches \fIpattern\fR.
.TP
.B \-l
List template(s) and their description.
.TP
.BI \-f\ filename
Specify the filename of template being dumped or created (single template).
.TP
.BI \-r\ template[\ ...\]
Delete template(s).
.TP
.BI \-s\ file[\ ...]
Create/save/update template from the given \fIfile\fR. Section, page and template name
are derived from \fIfile\fR 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.
.TP
.BI \-O\ directory
Specify the directory where templates are saved and created. If omitted, default to ./
.TP
.B \-P
comma-separated list of plugin names
.TP
.B \-S\ \fIsection\fR\ [ \fB-P\ \fR\fIpage\fR ]\ [\ \fItemplate\fR[\ ...]\ ]\ ]
Specify the \fIsection\fR, \fIpage\fR and \fItemplate\fR for listing and dumping functions.
If \fItemplate\fR[ ...] is omitted, then it defaults 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.
.TP
.BI \-c\ template[\ ...]
Compile \fItemplate\fR into Perl code for testing. Compiled template is saved as \fItemplate\fR.ttc
in the destination directory.
.br
.SH AUTHOR
This manual page was written by Eric Van Buggenhaut <ericvb@debian.org>,
for the Debian GNU/Linux system (but may be used by others).
|