MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / parse_args

Function parse_args

data/scripts/opencc_resources_zip_diff.py:15–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14
15def parse_args():
16 parser = argparse.ArgumentParser(
17 description="Compare two OpenCC resource zip archives."
18 )
19 parser.add_argument("before")
20 parser.add_argument("after")
21 parser.add_argument("--markdown", required=True)
22 return parser.parse_args()
23
24
25def read_zip(path):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected