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.")