Skip to content

craft-hub / inspectLocalEnvironment

Function: inspectLocalEnvironment() ​

inspectLocalEnvironment(options?): Promise<LocalEnvironmentSnapshot>

Defined in: packages/craft-hub/src/local-environment.ts:90

Inspect fixed tool versions using absolute paths, bounded output and no shell. Relative PATH entries, shell startup files and project configuration are not used. A missing result means the bounded search did not find a tool, not that it is uninstalled.

Parameters ​

options? ​

LocalEnvironmentInspectionOptions = {}

Returns ​

Promise<LocalEnvironmentSnapshot>

Released under the MIT License.