diff options
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/gui/gui_parser.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/g4f/gui/gui_parser.py b/g4f/gui/gui_parser.py new file mode 100644 index 00000000..ad458f5c --- /dev/null +++ b/g4f/gui/gui_parser.py @@ -0,0 +1,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
\ No newline at end of file |