Skip to main content

Module env_arg

Module env_arg 

Source
Expand description

Parse and validate --env CLI entries for outrig run and outrig mcp.

Each --env value is either:

  • KEY=VALUE – applied to every MCP server (global).
  • SERVER:KEY=VALUE – applied only to the named MCP server.

The right-hand side is processed through EnvValue::from_raw so that ${VAR} references resolve from the host environment at MCP startup, identically to config-file values.

Structs§

CliEnvEntries
Parsed --env entries, split into global and per-server maps.

Enums§

CliEnvParseError
Errors specific to --env parsing.