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