Skip to main content

load_profile

Function load_profile 

Source
pub fn load_profile(name: &str) -> Option<Profile>
Expand description

Loads a profile by name with full resolution:

  1. Project-local .lean-ctx/profiles/<name>.toml
  2. Global ~/.lean-ctx/profiles/<name>.toml
  3. Built-in defaults

Applies inheritance chain (max depth 5 to prevent cycles).