1.0.16 • Published 1 year ago

rpls v1.0.16

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago