Skip to content

add support for configuration file parsing#1448

Open
cyberian-hacksy wants to merge 1 commit intotsl0922:mainfrom
cyberian-hacksy:config-file
Open

add support for configuration file parsing#1448
cyberian-hacksy wants to merge 1 commit intotsl0922:mainfrom
cyberian-hacksy:config-file

Conversation

@cyberian-hacksy
Copy link
Copy Markdown

This pull request introduces support for loading configuration options from a JSON config file in addition to command-line arguments. It includes updates to the help text, command-line option parsing, and the main server logic to handle the new --config option.

Config File Support:

  • Added a new --config (-F) option to specify the path to a JSON config file. Command-line options override settings from the config file.
  • Implemented the parse_config_file function to read, parse, and apply settings from the JSON config file, supporting all existing command-line options.

@cyberian-hacksy
Copy link
Copy Markdown
Author

Closes #1358

@tsl0922 tsl0922 force-pushed the main branch 4 times, most recently from ee05f21 to a9b2d19 Compare March 20, 2026 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant