1.1.0 • Published 4 years ago

copy-replace v1.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

copy-replace

A cli tool that copy and paste directory files and replace text occurrences in files content and path in different cases.

Installation

npm i -g copy-replace or yarn global add copy-replace

Use case

copy-replace --src /absolute/path --dst /absolute/path --from "old project" --to "new success project"

Arguments

copy-replace -h
Usage: copy-replace [options]

A cli tool that copy and paste directory files and replace text occurrences in files content and path in different cases.

Options:
  -V, --version  output the version number
  --src <src>    The directory absolute path to copy
  --dst <dst>    The directory absolute path that will contain the copied one
  --from <from>  Word to replace, preferable lowercase separated with spaces
  --to <to>      Replacement for "from"
  -h, --help     display help for command

If you clone it locally in order to run from everywhere execute from project root:

npm link