MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / run

Function run

markdown/commandline.py:87–96  ·  view source on GitHub ↗

Run Markdown from the command line.

()

Source from the content-addressed store, hash-verified

85 'output_format': options.output_format}, options.verbose
86
87def run():
88 """Run Markdown from the command line."""
89
90 # Parse options and adjust logging level if necessary
91 options, logging_level = parse_options()
92 if not options: sys.exit(0)
93 if logging_level: logging.getLogger('MARKDOWN').setLevel(logging_level)
94
95 # Run
96 markdown.markdownFromFile(**options)

Callers

nothing calls this directly

Calls 1

parse_optionsFunction · 0.85

Tested by

no test coverage detected