Skip to content

Commit 8cda7c8

Browse files
StartAutomatingStartAutomating
authored andcommitted
Join-PipeScript: Improving Unnamed end block behavior (Fixes #363)
1 parent 346a483 commit 8cda7c8

File tree

1 file changed

+28
-20
lines changed

1 file changed

+28
-20
lines changed

docs/Razor.Template.md

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
Razor.Template
22
--------------
3+
4+
5+
6+
37
### Synopsis
48
Razor Template Transpiler.
59

10+
11+
612
---
13+
14+
715
### Description
816

917
Allows PipeScript to generate Razor.
@@ -14,82 +22,82 @@ JavaScript/CSS comment blocks like ```/*{}*/``` will also be treated as blocks o
1422

1523
Razor comment blocks like ```@*{}*@``` will also be treated as blocks of PipeScript.
1624

25+
26+
1727
---
28+
29+
1830
### Parameters
1931
#### **CommandInfo**
2032

2133
The command information. This will include the path to the file.
2234

2335

2436

25-
> **Type**: ```[CommandInfo]```
2637

27-
> **Required**: true
2838

29-
> **Position**: named
3039

31-
> **PipelineInput**:true (ByValue)
40+
|Type |Required|Position|PipelineInput |
41+
|---------------|--------|--------|--------------|
42+
|`[CommandInfo]`|true |named |true (ByValue)|
3243

3344

3445

35-
---
3646
#### **AsTemplateObject**
3747

3848
If set, will return the information required to dynamically apply this template to any text.
3949

4050

4151

42-
> **Type**: ```[Switch]```
4352

44-
> **Required**: true
4553

46-
> **Position**: named
4754

48-
> **PipelineInput**:false
55+
|Type |Required|Position|PipelineInput|
56+
|----------|--------|--------|-------------|
57+
|`[Switch]`|true |named |false |
4958

5059

5160

52-
---
5361
#### **Parameter**
5462

5563
A dictionary of parameters.
5664

5765

5866

59-
> **Type**: ```[IDictionary]```
6067

61-
> **Required**: false
6268

63-
> **Position**: named
6469

65-
> **PipelineInput**:false
70+
|Type |Required|Position|PipelineInput|
71+
|---------------|--------|--------|-------------|
72+
|`[IDictionary]`|false |named |false |
6673

6774

6875

69-
---
7076
#### **ArgumentList**
7177

7278
A list of arguments.
7379

7480

7581

76-
> **Type**: ```[PSObject[]]```
7782

78-
> **Required**: false
7983

80-
> **Position**: named
8184

82-
> **PipelineInput**:false
85+
|Type |Required|Position|PipelineInput|
86+
|--------------|--------|--------|-------------|
87+
|`[PSObject[]]`|false |named |false |
88+
89+
8390

8491

8592

8693
---
94+
95+
8796
### Syntax
8897
```PowerShell
8998
Razor.Template -CommandInfo <CommandInfo> [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
9099
```
91100
```PowerShell
92101
Razor.Template -AsTemplateObject [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
93102
```
94-
---
95103

0 commit comments

Comments
 (0)