MCPcopy Create free account
hub / github.com/DemonMartin/node-camoufox / parse_arguments

Function parse_arguments

src/server.py:13–23  ·  view source on GitHub ↗

Parse command line arguments for server configuration. Returns: argparse.Namespace: Parsed command line arguments

()

Source from the content-addressed store, hash-verified

11
12
13def 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
26def load_config():

Callers 1

load_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected