-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some additional handlebars functions documented.
- Loading branch information
1 parent
fdb61fd
commit 47d0f0a
Showing
9 changed files
with
103 additions
and
9 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
DataWarehouseAutomation/DataWarehouseAutomation/DataObject.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# {{replicate}} | ||
|
||
Returns the input string value a number of times, as specified by the input integer. | ||
|
||
This is often used to generate test data. | ||
|
||
## Usage | ||
|
||
```json | ||
{{#replicate 10}} | ||
``` | ||
|
||
## Example | ||
|
||
```json | ||
{{#replicate 3}} | ||
This value is replicated 3 times! | ||
{{/replicate}} | ||
``` | ||
|
||
This returns: | ||
|
||
```dotnetcli | ||
This value is replicated 3 times! | ||
This value is replicated 3 times! | ||
This value is replicated 3 times! | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# {{space}} | ||
|
||
Space will space out (!?) the name of the input value to 30 characters using tabs for alignment, indentation. | ||
|
||
## Usage | ||
|
||
```json | ||
{{space "<value>"}} | ||
``` | ||
|
||
## Example | ||
|
||
```json | ||
This is {{space "Hello World"}} ...spaced out. | ||
``` | ||
|
||
This results in: | ||
|
||
```dotnetcli | ||
This is Hello World ...spaced out. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# {{stringdiff}} | ||
|
||
Block helper to evaluate if the input does *not* match a specified string. Also optionally supports an {{else}} block. | ||
|
||
## Usage | ||
|
||
```json | ||
{{#stringdiff string1 string2}} do something {{else}} do something else {{/stringdiff}} | ||
``` | ||
|
||
## Example | ||
|
||
```json | ||
A and B {{#stringdiff "A" "B"}}are not the same. {{else}}are the same. {{/stringdiff}} | ||
``` | ||
|
||
This results in: | ||
|
||
```dotnetcli | ||
A and B are not the same. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters