relabel
relabel copied to clipboard
🏷 Interactive bulk renaming tool
🏷 Relabel
Interactive bulk renaming tool
Why
I missed the same search & replace the experience that we have in the IDE for code. Current solutions doesn't provide the proper feedback that you can achieve from the interactive mode
Usage
npx relabel
CLI
Usage
> relabel [pattern] [old] [new]
Interactive Mode
> relabel
Modify
> relabel '**/*.spec.js' spec test => dir/file.test.js
Remove
> relabel '**/foo-bar.js' foo- => dir/bar.js
Options
--version, -v Version number
--help, -h Displays this message
--dry, -d Dry-run mode, does not modify files
--interactive, -i Interactive Mode, automatically used when not all arguments are provided
Development
- See the Contributing Guide
- Using Ink for rendering the interactive UI
Related Projects
- Globitor - Interactive glob pattern tester