summaryrefslogtreecommitdiffstats
path: root/terminal.py
blob: f7f88beed18691a032ad88b889025c151ac149a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import multiprocessing
import sys
from openbb_terminal import terminal_controller
from openbb_terminal.core.integration_tests import integration_controller

if __name__ == "__main__":
    multiprocessing.freeze_support()
    sent_args = sys.argv[1:]
    if "-t" in sent_args or "--test" in sent_args:
        integration_controller.main()
    else:
        terminal_controller.parse_args_and_run()