find_files_from_info_in_file
Get an array of files from the codebase based on information found in a specified file.
Arguments
Name
Type
Description
Required
path_to_file
string
The path to the file from which information is extracted.
find_info_in_file_prompt
prompt
The prompt used for finding information within the specified file.
find_files_from_info_prompt
prompt
The prompt used for finding files based on the information extracted from the specified file.
subpath
string
The subpath directory to search in for the files.
cached_file_paths
array
An optional cached array of file paths to avoid re-querying.
limit
number
Limit the amount of results returned.
Returns
Type
Description
array
An array of file paths found based on the information extracted.
Example
Last updated