1.0.12 • Published 5 months ago

smart-rename v1.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Smart rename

A simple utility for bulk renaming using search and replace.

Installation

npm i -g smart-rename

Example with directory

smart-rename --path . --from user --to customer
smart-rename --path . --from User --to Customer
Before:
After:

Example with git stage

smart-rename --gitStage --from user --to customer
Before:
After:

Flags

Usage: smart-rename [options]

Options:
  -p, --path                  Directory path (search includes directory path and all recursive paths inside)
  -g, --gitStage              Whether to use paths from git stage
  -f, --from                  Replace from
  -t, --to                    Replace to
  -i, --includeFilesContents  Whether to also replace all occurences in files contents
1.0.9

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.11

5 months ago

1.0.10

6 months ago

1.0.12

5 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago