예제 #1
0
파일: utils.py 프로젝트: aki21j/shellnerd
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
예제 #2
0
import src.cli as cli

if __name__ == "__main__":
    cli.main()
예제 #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()