Upload files to "Modules"

This commit is contained in:
2024-11-26 22:47:18 -05:00
parent 1f32840dda
commit ad88741aa7
4 changed files with 45 additions and 3 deletions

View File

@ -0,0 +1,24 @@
from Modules.Submenus.about import *
from Modules.Submenus.analyst_notebook import *
def global_command_handler(command):
if command.lower() == "note":
analyst_notebook_submenu()
elif command.lower() == "about":
about_submenu()
else:
print(f"{Fore.RED}Invalid global command: {command}{Style.RESET_ALL}")
def redirect_to_analyst_notebook():
analyst_notebook_submenu()
def redirect_to_about():
about_submenu()
def global_command_handler(command):
if command.lower() in ["an","note","notebook","analyst","analyst notebook"]:
redirect_to_analyst_notebook()
elif command.lower() == "about":
redirect_to_about()
else:
print("Invalid global command.")