Skip to content

Commit 9ca77d2

Browse files
committed
Update README
1 parent 266da01 commit 9ca77d2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![NPM version][npm-img]][npm-url] [![Downloads][downloads-img]][npm-url]
44

5-
A simple generator that is independent from any language. Create custom boilerplate, scaffolding, skeleton, and templating code files that you need to create over and over again. All you need is [NodeJS](https://nodejs.org) installed to get started.
5+
A simple generator that is independent of any language. Create custom boilerplate, scaffolding, skeleton, and templating code files that you need to create over and over again. All you need is [NodeJS](https://nodejs.org) installed to get started.
66

77
> Find this useful? Give it a :star:
88
@@ -186,7 +186,7 @@ Below is an example of a `IReplacerSlotQuestion`
186186

187187
#### Dynamic Replacer Slots
188188

189-
If you have data that is dynamically generated or you have hard coded values you can use the `dynamicReplacers`:
189+
If you have data that is dynamically generated, or you have hard coded values you can use the `dynamicReplacers`:
190190

191191
```javascript
192192
dynamicReplacers: [
@@ -201,7 +201,7 @@ dynamicReplacers: [
201201
Example
202202

203203
- In the generator template `__replacerSlot__` is appended by the `(pascalCase)` converter such as `__replacerSlot__(pascalCase)`.
204-
- When the generator is run, the string `"product reducer"` is provided for `__replacerSlot__`.
204+
- When the generator is ran, the string `"product reducer"` is provided for `__replacerSlot__`.
205205
- As a result, the converter will produce `ProductReducer`.
206206

207207
Here is the string `Lives down BY the River` with each of the converters:
@@ -227,6 +227,8 @@ One Rule: no spaces between the [Replacer Slots](#replacer-slots-or-ireplacerslo
227227

228228
You can use `generate-template-files` with the command line to generate your template files.
229229

230+
When using the command line `stringReplacers` will be ignored, and the arguments pass in will be used. Example: `__name__=some-name`. `dynamicReplacers` are still used with the command line.
231+
230232
###### Minimum Options
231233

232234
```txt

0 commit comments

Comments
 (0)