Skip to main content

get

Function get 

Source
pub fn get(key: &str) -> Result<String>
Expand description

Get a config value by dot-separated key (e.g. “agents.claude.model”).

Lookup order:

  1. .orch.yml in the current directory (project config)
  2. ~/.orch/config.yml (global config)

Returns the first match as a string. Files are parsed once and cached for the process lifetime.