ensure_napi_cli

Function ensure_napi_cli 

Source
pub fn ensure_napi_cli() -> Result<PathBuf, Box<dyn Error>>
Expand description

Ensure the napi CLI is on PATH (provided by @napi-rs/cli).
If missing, prompts the user and installs it globally via npm install -g @napi-rs/cli.
Returns the full path to the napi executable.