Ejemplo n.º 1
0
def default_menu_or_exit(selection):
    if selection == "Go to Main Menu" or selection == "main-menu":
        cli.main()
    elif selection == "Exit" or selection == "exit":
        # inp_exit = prompt(retrieve_questions('exit'), style=style)
        # if inp_exit['exit']:
        logger.info("Exiting...")
        sys.exit(0)
    else:
        return
Ejemplo n.º 2
0
import src.cli as cli

if __name__ == "__main__":
    cli.main()
Ejemplo n.º 3
0
"""The main execution script for this package."""
# set matplotlib to override default X11 environment
import matplotlib

matplotlib.use('Agg')
# import the main entry point of the application
from src.cli import main
# execute the main entry point of the CLI
main()