refactor_file
Refactor a file based on provided instructions.
Arguments
Name | Type | Description | Required |
---|---|---|---|
path_to_file | string | The path to the file that needs refactoring, relative to the project root. | |
refactor_prompt | prompt | Instructions on how to refactor the file. |
Returns
Type | Description |
---|---|
string | The path to the refactored file. |
Example
Last updated