craftbeerpi4-pione/venv3/lib/python3.7/site-packages/certifi/__main__.py

13 lines
243 B
Python
Raw Normal View History

2021-03-03 23:49:41 +01: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())