pytwine.scripts.pytwine_script

pytwine.scripts.pytwine_script() None[source]

Implement the pytwine script: parse command line options, process a document, exit with an appriorate exit status.

Option stuff:
  • if no sourcefile given, or “-” given, use stdin

  • if no outfile given, or “-” given, use stdout