Section: User Commands (1)
Updated: 2005 Apr 04Index
Return to Main Contents
cheetah - Python template command-line tool
This manual page documents briefly the
command-line tool. This manual page was written for the Debian
distribution because the original program does not have a manual page.
cheetah is a Python-powered template engine and code generator. It can be
used as a standalone utility or it can be combined with other tools. Cheetah
has many potential uses, but web developers looking for a viable alternative to
ASP, JSP, PHP and PSP are expected to be its principle user group.
The cheetah command-line tool is the standalone utility portion of the
software suite. cheetah-compile is a convenience script that for the
"cheetah compile ..." command. The utility accepts a single command
possible options and a list of files. If FILE is a single "-", read
standard input and write standard output.
The possible cheetah
commands are listed below. You may abbreviate the
command to the first letter; e.g., 'h' == 'help'.
Compile template definitions
Fill template definitions
Print commands help message
Print options help message for compile and fill commands
Run regression tests
Print version number
The options for
apply to the
commands. A summary of options is included below.
- --idir DIR
Input directories(default: current dir)
- --odir ODIR
Output directories (default: current dir)
- --iext IEXT
Input extension. The default input extension for both the
compile and fill commands is "tmpl".
- --oext OEXT
Output extension. The default output extension for the
compile command is "py". The default output extension for fill
Recurse subdirectories looking for input files
Print lots of diagnostic output to the standard error file descriptor
Print the environment in the searchList
No destination subdirectories
Do not make backups
- --pickle FILE
unpickle FILE and put that output in the searchList
- --stdout, -p
Output to standard output file descriptor (pipe)
The programs are documented fully on the project website
You can also browse the Python library files and their docstring descriptions
by using the standard pydoc utility.
This manual page was written by Chad C. Walstrom <email@example.com
for the Debian project and is dedicated to the Public Domain.
- SEE ALSO