pub fn validate_presets_strict(
commands: &BTreeMap<String, CommandSpec>,
schema: &Schema,
) -> Result<(), String>Expand description
At load time, reject preset options: keys that are not declared in
the enclosing schema. Runs only when schema.strict == true, and
only against entries resolved to CommandKind::Preset — run: and
path: kinds don’t share the parent schema.