1.0.16 • Published 3 years ago

rpls v1.0.16

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

RPLS

Utility for copying templates with variable substitution and replacement

Install

npm i -D rpls

Post install

  • After install, add command to npm scripts:
# package.json
{
  ...
  "scripts": {
    "rpls": "./node_modules/rpls/bin/cli.js"
  },
  ...
}

Options

Options:
      --tpl      Template directory                          [string] [required]
      --outDir   Out directory                                          [string]
      --rw       Rewrite string. Example: <fromString>:<toString>
                                                              [array] [required]
  -h, --help     Show help                                             [boolean]
  -v, --version  Show version number                                   [boolean]

Use Example

npm run rpls -- --tpl ./my-template --rw fromString1:toString1 --rw fromString2:toString2
1.0.16

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago