-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathManager.py
More file actions
49 lines (47 loc) · 1.17 KB
/
Manager.py
File metadata and controls
49 lines (47 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import StoreManager
import sys
if len(sys.argv) > 1:
cmd = sys.argv[1]
if cmd == "build":
StoreManager.build_api()
# build_api()
elif cmd == "print":
...
# print_all_apps()
elif cmd == "update":
...
# update_app()
else:
...
# while True:
# cls()
# print_menu()
# selection = input("请输入选项:")
# try:
# selection = int(selection)
# if selection is None:
# print("输入错误,请重新输入")
# input("按任意键继续")
# continue
# except TypeError:
# print("输入错误,请输入正整数:")
# input("按任意键继续")
# continue
# cls()
# if selection == 0:
# break
# elif selection == 1:
# print_all_apps()
# elif selection == 2:
# update_app()
# elif selection == 4:
# build_api()
# else:
# print("输入错误,请重新输入")
#
# input("按任意键继续")
#
# cls()
# print("再见!")
# main_ui()
exit(0)