@@ -448,7 +448,23 @@ def serve(
448448
449449
450450def main ():
451- parser = argparse .ArgumentParser (description = "Launch the Tide UI server." )
451+ parser = argparse .ArgumentParser (
452+ description = "Launch the Tide UI server." ,
453+ epilog = (
454+ "\n Available commands and what they do:\n "
455+ " --host Host to bind to (default: None)\n "
456+ " --port Port to bind to (default: 9753)\n "
457+ " --root-path Root path for the app (default: None)\n "
458+ " --ssl-certfile Path to SSL certificate file (default: None)\n "
459+ " --ssl-keyfile Path to SSL key file (default: None)\n "
460+ " --ws-per-message-deflate WebSocket per-message deflate (true/false, default: true)\n "
461+ " --ws-protocol WebSocket protocol (default: auto)\n "
462+ " --project-path Path to the project directory (default: ./)\n "
463+ " --config-path Path to the config file (default: .agent_tide_config.yml)\n "
464+ " -h, --help Show this help message and exit\n "
465+ ),
466+ formatter_class = argparse .RawDescriptionHelpFormatter
467+ )
452468 parser .add_argument ("--host" , type = str , default = None , help = "Host to bind to" )
453469 parser .add_argument ("--port" , type = int , default = AGENT_TIDE_PORT , help = "Port to bind to" )
454470 parser .add_argument ("--root-path" , type = str , default = None , help = "Root path for the app" )
0 commit comments