mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-23 07:28:13 +01:00
13 lines
243 B
Python
13 lines
243 B
Python
|
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())
|