dns-check-py/venv/lib/python3.12/site-packages/certifi/__main__.py

13 lines
243 B
Python
Raw Normal View History

2023-11-30 14:53:37 +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())