Tayra

Template. Script. Distribute

script – Command line script

Command line interface to tayra package. When installing the package using easy_install, a shell command is automatically installed under bin/ directory.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
> tayra --help
usage: tayra [-h] [-l] [-d] [-s] [-t] [-a ARGS] [-c CONTEXT] [-g DEBUG]
             [--version]
             ttlfile

Pluggdapps command line script

positional arguments:
  ttlfile     Input template file containing tayra script

optional arguments:
  -h, --help  show this help message and exit
  -l          Do lexical analysis of input file.
  -d          Dump translation
  -s          Show AST parse tree
  -t          Execute test cases.
  -a ARGS     Argument to template
  -c CONTEXT  Context to template
  -g DEBUG    Debug level for PLY argparser
  --version   Version information of the package

Related Topics

This Page