gavo.stc.cli module

A small user interface for testing STC.

gavo.stc.cli.bailOnExc(opts, msg)[source]
gavo.stc.cli.cmd_conform(opts, srcSTCS, dstSTCS)[source]

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

gavo.stc.cli.cmd_help(opts)[source]

– outputs help to stdout.

gavo.stc.cli.cmd_parseUtypes(opts)[source]

— reads the output of utypes and prints quoted STC for it.

gavo.stc.cli.cmd_parseX(opts, srcFile)[source]

<srcFile> – read STC-X from srcFile and output it as STC-S, - for stdin

gavo.stc.cli.cmd_resprof(opts, srcSTCS)[source]

<srcSTCS> – make a resource profile for srcSTCS.

gavo.stc.cli.cmd_utypes(opts, srcSTCS)[source]

<QSTCS> – prints the utypes for the quoted STC string <QSTCS>.

gavo.stc.cli.main()[source]
gavo.stc.cli.makeParser()[source]
gavo.stc.cli.parseArgs()[source]