MCPcopy Index your code
hub / github.com/ndleah/python-mini-project / main

Function main

Cat_command/cat.py:57–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 return parser.parse_args()
56
57def main():
58
59 args = cli()
60
61 try:
62
63 readFile(args.source)
64
65 except CatError as e:
66
67 logger.error(e)
68
69 exit(1)
70
71 except KeyboardInterrupt:
72
73 logger.error('\nInterrupt')
74
75'''
76 Start the program

Callers 1

cat.pyFile · 0.70

Calls 3

cliFunction · 0.85
readFileFunction · 0.85
errorMethod · 0.80

Tested by

no test coverage detected