Parse command line arguments for server configuration. Returns: argparse.Namespace: Parsed command line arguments
()
| 11 | |
| 12 | |
| 13 | def parse_arguments(): |
| 14 | """ |
| 15 | Parse command line arguments for server configuration. |
| 16 | |
| 17 | Returns: |
| 18 | argparse.Namespace: Parsed command line arguments |
| 19 | """ |
| 20 | parser = argparse.ArgumentParser() |
| 21 | parser.add_argument('--config', type=str, |
| 22 | help='JSON configuration from Node.js') |
| 23 | return parser.parse_args() |
| 24 | |
| 25 | |
| 26 | def load_config(): |