refactor-template
CLI tool to generate code from template.
CLI Tool to refactor a file tree structure with passed arguments.
- boost productivity
- reduce bugs
- save time
npm install -g refactor-template
The following example will clone the users folder as products and replace all occurance and all veriations of the text 'users' in folder, file, and file content.
refactor-template <source> <target> <placeholder(optional)> <new-value(optional)>
refactor-template copy src/user sr/product user product
To see available commands , run the help command
refactor-template --help