Expand description
Process-environment snapshot for the CLI.
EnvOverrides captures every environment variable the CLI consults, read
once at process start (EnvOverrides::from_process_env) and threaded
through crate::context::CommandContext. Command code never calls
std::env::var directly — tests construct the snapshot with
EnvOverrides::from_vars instead of mutating process state.
Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.
Structs§
- EnvOverrides
is_deployment_hostmeans the process runs on the host the active profile describes, so a command must run locally instead of routing to the deployment it is already inside.- Session
Env