pytwine.cli.cli_twine

pytwine.cli.cli_twine(ifp: TextIO, ofp: TextIO, debug: bool = False) pytwine.core.TwineExitStatus[source]

Process a markdown document and write output to a file

Parameters
  • infile_name – input file-like

  • outfile_name – output file-like

Returns

a TwineExitStatus with a .value that can be passed to sys.exit.