Python template command-line tool
cheetah COMMAND [options] FILE...
cheetah-compile [options] FILE...
This manual page documents briefly the cheetah 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 cheetah apply to the compile and fill commands. A summary of options is included below.
Input directories(default: current dir)
Output directories (default: current dir)
Input extension. The default input extension for both the compile and fill commands is "tmpl".
Output extension. The default output extension for the compile command is "py". The default output extension for fill is "html".
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
unpickle FILE and put that output in the searchList
Output to standard output file descriptor (pipe)
The programs are documented fully on the project website http://cheetahtemplate.sourceforge.net. 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 protected]>, for the Debian project and is dedicated to the Public Domain.