relabel
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

🏷 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

/relabel/

    Package Sidebar

    Install

    npm i relabel

    Weekly Downloads

    1

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    3.27 MB

    Total Files

    6

    Last publish

    Collaborators

    • ranyitzhaki