Skip to main content

detect

Function detect 

Source
pub fn detect(tb: &dyn Toolbox, tool: &str, opts: DetectOpts<'_>) -> Probe
Expand description

Detect a single tool: project-local first (it wins over a global install), then PATH, then — only if allow_npx — an npx provisionable fallback, else missing.