Skip to main content

resolver

Function resolver 

Source
pub fn resolver(env: &dyn Fn(&str) -> Option<String>) -> Result<String, String>
Expand description

The Python Spec Kit’s scripts would resolve preset templates with, given the person’s environment env: the override when it imports PyYAML, the installed specify’s interpreter (what speccoder passes), else python3 on PATH. Err: none imports PyYAML — the reason.

§Errors

No Python with PyYAML is found.