Package gavo :: Package stc :: Module cli
[frames] | no frames]

Module cli

source code

A small user interface for testing STC.

Functions
 
cmd_resprof(opts, srcSTCS)
<srcSTCS> -- make a resource profile for srcSTCS.
source code
 
cmd_parseX(opts, srcFile)
<srcFile> -- read STC-X from srcFile and output it as STC-S, - for stdin
source code
 
cmd_conform(opts, srcSTCS, dstSTCS)
<srcSTCS>.
source code
 
cmd_utypes(opts, srcSTCS)
<QSTCS> -- prints the utypes for the quoted STC string <QSTCS>.
source code
 
cmd_parseUtypes(opts)
--- reads the output of utypes and prints quoted STC for it.
source code
 
makeParser() source code
 
cmd_help(opts)
-- outputs help to stdout.
source code
 
parseArgs() source code
 
bailOnExc(opts, msg) source code
 
main() source code
Variables
  __package__ = 'gavo.stc'
Function Details

cmd_conform(opts, srcSTCS, dstSTCS)

source code 

<srcSTCS>. <dstSTCS> -- prints srcSTCS in the system of dstSTCS.