1.0.9 • Published 1 year ago
@hidden_org/refactor_cli v1.0.9
Refactor CLI
Installation
npm i -g @hidden_org/refactor_cli
Guide
Usage: refactor [options]
Refactor file name and file content.
Example:
refactor --from "old name" --to "to name"
refactor --from "old name" --to "to name" --path "D:/source/old"
refactor --from "old name" --to "to name" --excluded-paths **/node_modules
Options:
--from <string> from name
--to <string> to name
--excluded-paths <string...> excluded paths, use glob pattern (default: ["**/node_modules","**/.git"])
--path <string> path to folder or file need to refactor, default is cwd
-h, --help display help for command