Skip to content

Commit 0b6c538

Browse files
StartAutomatingStartAutomating
authored andcommitted
Join-PipeScript: Improving Unnamed end block behavior (Fixes #363)
1 parent 37320e4 commit 0b6c538

File tree

1 file changed

+28
-20
lines changed

1 file changed

+28
-20
lines changed

docs/XML.Template.md

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

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

917
Allows PipeScript to generate XML.
1018

1119
Multiline comments blocks like this ```<!--{}-->``` will be treated as blocks of PipeScript.
1220

21+
22+
1323
---
24+
25+
1426
### Parameters
1527
#### **CommandInfo**
1628

1729
The command information. This will include the path to the file.
1830

1931

2032

21-
> **Type**: ```[CommandInfo]```
2233

23-
> **Required**: true
2434

25-
> **Position**: named
2635

27-
> **PipelineInput**:true (ByValue)
36+
|Type |Required|Position|PipelineInput |
37+
|---------------|--------|--------|--------------|
38+
|`[CommandInfo]`|true |named |true (ByValue)|
2839

2940

3041

31-
---
3242
#### **AsTemplateObject**
3343

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

3646

3747

38-
> **Type**: ```[Switch]```
3948

40-
> **Required**: true
4149

42-
> **Position**: named
4350

44-
> **PipelineInput**:false
51+
|Type |Required|Position|PipelineInput|
52+
|----------|--------|--------|-------------|
53+
|`[Switch]`|true |named |false |
4554

4655

4756

48-
---
4957
#### **Parameter**
5058

5159
A dictionary of parameters.
5260

5361

5462

55-
> **Type**: ```[IDictionary]```
5663

57-
> **Required**: false
5864

59-
> **Position**: named
6065

61-
> **PipelineInput**:false
66+
|Type |Required|Position|PipelineInput|
67+
|---------------|--------|--------|-------------|
68+
|`[IDictionary]`|false |named |false |
6269

6370

6471

65-
---
6672
#### **ArgumentList**
6773

6874
A list of arguments.
6975

7076

7177

72-
> **Type**: ```[PSObject[]]```
7378

74-
> **Required**: false
7579

76-
> **Position**: named
7780

78-
> **PipelineInput**:false
81+
|Type |Required|Position|PipelineInput|
82+
|--------------|--------|--------|-------------|
83+
|`[PSObject[]]`|false |named |false |
84+
85+
7986

8087

8188

8289
---
90+
91+
8392
### Syntax
8493
```PowerShell
8594
XML.Template -CommandInfo <CommandInfo> [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
8695
```
8796
```PowerShell
8897
XML.Template -AsTemplateObject [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
8998
```
90-
---
9199

0 commit comments

Comments
 (0)