junedomingo / react-native-rename

Rename react-native app with just one command
MIT License
2.63k stars 261 forks source link

If new name is 3 chars will fail #234

Closed flyskywhy closed 1 year ago

flyskywhy commented 1 year ago

Describe the bug If new name is 3 chars e.g. "xyz" , will got:

Please provide path and content string using "-p [value]" or "--pathContentStr [value]" option to be used in renaming the folders, files and their contents.
example: react-native-rename "xyz" -p "[value]"

if more than 3 chars e.g. "xyza" will be good.

To Reproduce Steps to reproduce the behavior:

  1. npx react-native-rename "xyz" -b com.flyskywhy.xyz

Expected behavior to runs well.

Environment (please complete the following information):

junedomingo commented 1 year ago

@flyskywhy please checkout v3.2.13 now