From root directory run in cmd:
npm start -- ./react-app/src/components/ ./react-app/src/replaced-components counter replaced
./react-app/src/components/
is a directory of files which should be traversed.
./react-app/src/replaced-components
is a directory where changed files should be stored.
counter
is name of file/function/variable which should be changed/renamed.
replaced
is a string which will replace counter
.
npm start -- ./react-app/src/components/ ./react-app/src/replaced-components CounterEntity ReplaceEntity
npm start -- ./react-app/src/components/ ./react-app/src/replaced-components countEntity replaceEntity
npm start -- ./react-app/src/components/ ./react-app/src/replaced-components Entity Replaced