Skip to content

ranyitz/relabel

Repository files navigation

🏷 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

About

🏷 Interactive bulk renaming tool

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages