Skip to content

Commit 3c6bc85

Browse files
committed
Added the new command to the parser
1 parent 73eb14a commit 3c6bc85

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

main.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
version=f"Dynamic-CLI version {version}",
2222
action='version')
2323

24+
2425
parser.add_argument(
2526
"-n",
2627
"--new",
@@ -34,6 +35,11 @@
3435
help="Save answer to a file",
3536
action="store_true")
3637

38+
parser.add_argument("-u",
39+
"--update",
40+
help="Check updates for the application",
41+
action="store_true")
42+
3743
ARGV = parser.parse_args()
3844

3945
search_flag = Search(ARGV)

0 commit comments

Comments
 (0)