Skip to content

Latest commit

 

History

History
53 lines (43 loc) · 1.8 KB

README.md

File metadata and controls

53 lines (43 loc) · 1.8 KB

🏷 Relabel

Interactive bulk renaming tool

relabel-example

Build Status NPM version License

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

Related Projects

  • Globitor - Interactive glob pattern tester