move_file
Move a TypeScript/JavaScript file to a new location and automatically update all related import paths to ensure 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 |