readFileFromInstallDir
readFileFromInstallDir(
filePath,packageDir?):string
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/utils/fileUtils.ts:191
Read a file shipped with an installed package. Defaults to the core package dir; downstream packages shipping their own default files (e.g. prompts) pass their own package dir.
Parameters
Section titled “Parameters”filePath
Section titled “filePath”string
packageDir?
Section titled “packageDir?”string = corePackageDir
Returns
Section titled “Returns”string