MCPcopy Create free account
hub / github.com/executablebooks/markdown-it-py / main

Function main

markdown_it/cli/parse.py:20–28  ·  view source on GitHub ↗
(args: Sequence[str] | None = None)

Source from the content-addressed store, hash-verified

18
19
20def main(args: Sequence[str] | None = None) -> int:
21 namespace = parse_args(args)
22 if namespace.filenames:
23 convert(namespace.filenames)
24 elif namespace.stdin:
25 convert_stdin()
26 else:
27 interactive()
28 return 0
29
30
31def convert(filenames: Iterable[str]) -> None:

Callers 1

parse.pyFile · 0.70

Calls 4

parse_argsFunction · 0.85
convertFunction · 0.85
convert_stdinFunction · 0.85
interactiveFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…