__main__.py 243 B

123456789101112
  1. import argparse
  2. from certifi import contents, where
  3. parser = argparse.ArgumentParser()
  4. parser.add_argument("-c", "--contents", action="store_true")
  5. args = parser.parse_args()
  6. if args.contents:
  7. print(contents())
  8. else:
  9. print(where())