move_file
Relocate TypeScript/JavaScript files to a new directory and automatically update all associated import statements to maintain code integrity.
Instructions
Move a TypeScript/JavaScript file to a new location and update all import statements
Input Schema
Name | Required | Description | Default |
---|---|---|---|
newPath | Yes | New file path (relative to root) | |
oldPath | Yes | Current file path (relative to root) | |
overwrite | No | Overwrite the destination file if it exists | |
root | Yes | Root directory for resolving relative paths |