matteo-the-prestige/matteo_env/Lib/site-packages/certifi/__main__.py

13 lines
243 B
Python
Raw Normal View History

2020-12-20 00:08:09 +00:00
import argparse
from certifi import contents, where
parser = argparse.ArgumentParser()
parser.add_argument("-c", "--contents", action="store_true")
args = parser.parse_args()
if args.contents:
print(contents())
else:
print(where())