def main():
if len(sys.argv) == <NUM_LIT:2>:<EOL><INDENT>fname = sys.argv[<NUM_LIT:1>]<EOL>data = json.load(open(fname, '<STR_LIT:rb>'))<EOL><DEDENT>else:<EOL><INDENT>data = json.loads(sys.stdin.read())<EOL><DEDENT>print(pydeps2reqs(data))<EOL>
Cli entrypoint.