-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
56 lines (47 loc) · 1.06 KB
/
main.py
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
50
51
52
53
54
55
56
import os
from linux import *
from docker import *
from aws import *
from hadoop import *
from k8s import *
#Task Main Menu
while True:
os.system("clear")
os.system("tput setaf 1")
print("\t\t--------------------")
print("\t\t| Welcome MYITA !! |")
print("\t\t--------------------")
os.system("tput setaf 7")
os.system("tput setaf 2")
print("""
\t\tPress 1 : For Linux
\t\tPress 2 : For Docker
\t\tPress 3 : For Hadoop
\t\tPress 4 : For AWS
\t\tPress 5 : For Kubernates
\t\tPress 6 : To Exit
""")
print()
os.system("tput setaf 3")
ch = input("\t\t\tEnter your Choice : ")
os.system("tput setaf 7")
if int(ch) == 1:
linux_menu()
elif int(ch) == 2:
docker_menu()
elif int(ch) == 3:
hadoop_menu()
elif int(ch) == 4:
aws_menu()
elif int(ch) == 5:
k8s_menu()
else:
os.system("clear")
print()
os.system("tput setaf 1")
print("\t ---------------------------------------")
print("\t | Thank You for Using MYITA !! |")
print("\t ---------------------------------------")
os.system("tput setaf 7")
print()
exit()