You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
6
6
7
7
> Find this useful? Give it a :star:
8
8
@@ -186,7 +186,7 @@ Below is an example of a `IReplacerSlotQuestion`
186
186
187
187
#### Dynamic Replacer Slots
188
188
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`:
190
190
191
191
```javascript
192
192
dynamicReplacers: [
@@ -201,7 +201,7 @@ dynamicReplacers: [
201
201
Example
202
202
203
203
- 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__`.
205
205
- As a result, the converter will produce `ProductReducer`.
206
206
207
207
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
227
227
228
228
You can use `generate-template-files` with the command line to generate your template files.
229
229
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.
0 commit comments