We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f0d495 commit 6a92812Copy full SHA for 6a92812
main.py
@@ -3,12 +3,19 @@
3
import argparse
4
from src.arguments.search import Search
5
6
+version = "0.1"
7
+
8
PARSER = argparse.ArgumentParser()
9
PARSER.add_argument("-s",
10
"--search",
11
help="enable debug mode",
12
action="store_true")
13
14
+PARSER.add_argument("-V",
15
+ "--version",
16
+ version=f"Dynamic-CLI version {version}",
17
+ action='version')
18
19
ARGV = PARSER.parse_args()
20
21
search_flag = Search(ARGV)
0 commit comments