readFileFromInstallDir
readFileFromInstallDir(
filePath,packageDir?):string
Defined in: core/dist/utils/fileUtils.d.ts:62
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
Returns
Section titled “Returns”string