-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRAINMARX.py
57 lines (45 loc) · 1.48 KB
/
RAINMARX.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
57
import subprocess
import time
import pyfiglet
# Function to display ASCII art title
def print_intro():
title = pyfiglet.figlet_format("RAINMARX", font="slant")
print(title)
print("Welcome to RAINMARX CLI App!")
print("Your ultimate tool for managing Raindrop.io bookmarks")
print("=" * 60)
# Function to handle the main menu
def main_menu():
while True:
print("\nChoose an option:")
print("1. Get all bookmarks and nested collections.")
print("2. Get parent collection by ID.")
print("3. Update bookmarks from a collection.")
print("4. Search")
print("5. Get user stats")
print("6. Get user collection groups")
print("7. Exit")
choice = input("Enter your choice: ")
if choice == '1':
subprocess.run(["python3", "nested.py"])
elif choice == '2':
subprocess.run(["python3", "collectid.py"])
elif choice == '3':
subprocess.run(["python3", "updatr.py"])
elif choice == '4':
subprocess.run(["python3", "search.py"])
elif choice == '5':
subprocess.run(["python3", "stats.py"])
elif choice == '6':
subprocess.run(["python3", "overview.py"])
elif choice == '7':
print("Exiting... Goodbye!")
break
else:
print("Invalid choice. Please try again.")
def main():
print_intro()
time.sleep(2)
main_menu()
if __name__ == "__main__":
main()