mvts: like mv but for TypeScript files

mvts is a a tool for moving TypeScript files and updating their relative imports. This is WIP but works on my machine :).

Building

cargo build

Usage

mvts takes two arguments: sourcefilepath and targetfilepath.

mvts source_file.ts some_folder/another_folder/moved_source_file.ts

mvts moves source file to targetfilepath and edits it's imports so that they are correct in the new location.