Skip to main content

Module cli

Module cli 

Source
Expand description

Strict CLI argument parsing for agent-graph-mcp.

Replaces the silent _ => {} pattern that allowed typos like --dat-dir to launch with unsafe defaults. Every unknown flag, missing value, or malformed URL must exit nonzero before MCP transport starts.

Structs§

CliConfig
Parsed CLI configuration.
CliError
Typed CLI parse error. The caller must exit nonzero and must not start MCP transport.
ProxyConfig

Functions§

parse_args
Strict rules:
parse_proxy_args