We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1f0d495 + 6a92812 commit 0b9e6b2Copy full SHA for 0b9e6b2
1 file changed
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