-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
Summary
Support configuration file for server settings. Currently, all parameters are passed via command-line arguments, which becomes unwieldy as the number of settings grows.
Current State
Settings are managed via:
- Command-line arguments (limited: discovery port, logging options)
- Hardcoded constants (ports, timeouts, NetworkVariable limits, etc.)
Proposal
- Add
--configoption to specify a configuration file - CLI arguments override config file values when both are specified
- Suggested format: TOML (Python 3.11+ has built-in support via
tomllib)
Example
styly-netsync-server --config config.toml
styly-netsync-server --config config.toml --dealer-port 6666 # overrideReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels