document2md.cli

The document2md console script’s argument parser and entry point.

The document2md console script: parses command-line arguments and runs one document2md.batch.BatchConverter conversion.

parse_args(argv=None)[source]

Parse the document2md command-line arguments (argv, or sys.argv when None) and return the resulting argparse.Namespace.

main(argv=None)[source]

Entry point for the document2md console script: parse arguments, run one BatchConverter conversion, and print where the Markdown was saved. Exits with an error message (no traceback) on a missing/ambiguous input source, a mineru timeout, or a backend whose dependency isn’t installed.