rplcr

0.2.2 • Public • Published

rplcr

replace strings in files, with the cli

how to get

install from npm

npm i rplcr

how to use

Usage: rplcr [options] <sourcePath>

Options:

  -h, --help                       output usage information
  -V, --version                    output the version number
  -j, --by-json <pathToJson>       replace by a given
  -o, --outfile <pathToOutfile>    write to this file
  -f, --from-string <replaceFrom>  from this string
  -t, --to-string <replaceTo>      to this string

examples

change string in .html and save to a new .html file rplcr ./test/test.html -f "Test" -t "Test2Test" -o ./test/test2.html

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.2
    2
  • 0.2.1
    0
  • 0.2.0
    0

Package Sidebar

Install

npm i rplcr

Weekly Downloads

2

Version

0.2.2

License

MIT

Last publish

Collaborators

  • moszeed