MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / _normalize_argv

Function _normalize_argv

cmd_arg/arg.py:115–118  ·  view source on GitHub ↗
(argv: Optional[Sequence[str]])

Source from the content-addressed store, hash-verified

113
114
115def _normalize_argv(argv: Optional[Sequence[str]]) -> Iterable[str]:
116 if argv is None:
117 return list(sys.argv[1:])
118 return list(argv)
119
120
121def _inject_init_db_default(args: Sequence[str]) -> list[str]:

Callers 1

parse_cmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected