Skip to content

readFileFromInstallDir

readFileFromInstallDir(filePath, packageDir?): string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/utils/fileUtils.d.ts:68

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.

string

string

string