• Your Name's avatar
    Add CLI argument support and change default port to 17765 · 4ee2fc61
    Your Name authored
    - Changed default port from 8000 to 17765 in config and code
    - Added command-line argument parsing with argparse
    - Added --config flag to specify custom config directory
    - Added --host, --port flags to override config file settings
    - Added --https, --ssl-cert, --ssl-key flags for HTTPS configuration
    - Added --no-auth flag to disable authentication
    - CLI arguments take precedence over config file
    - Updated config.py to support custom config directories via AISBF_CONFIG_DIR env var
    - Config and handlers are now initialized after CLI parsing to support --config flag
    4ee2fc61
main.py 33.4 KB