Tools

Functions and values

Function or valueDescription
Tools.findToolFolderInSubPath(...)
Signature: toolname:string -> defaultPath:string -> string

Looks for a tool in all subfolders - returns the folder where the tool was found.

Tools.findToolInSubPath(...)
Signature: toolname:string -> defaultPath:string -> string

Looks for a tool first in its default path, if not found the in ./packages/ and then in all subfolders of the root folder - returns the tool file name.

Tools.tryFindToolFolderInSubPath(...)
Signature: toolname:string -> string option

Looks for a tool in all subfolders - returns the folder where the tool was found or None if not found.