summaryrefslogblamecommitdiffstats
path: root/g4f/gui/gui_parser.py
blob: ad458f5c2dd0caf5d5d6b1ad1d61be8271cc7d0d (plain) (tree)
1
2
3
4
5
6
7
8







                                                                              
from argparse import ArgumentParser

def gui_parser():
    parser = ArgumentParser(description="Run the GUI")
    parser.add_argument("-host", type=str, default="0.0.0.0", help="hostname")
    parser.add_argument("-port", type=int, default=8080, help="port")
    parser.add_argument("-debug", action="store_true", help="debug mode")
    return parser