Skip to content

Commit 46013db

Browse files
StartAutomatingStartAutomating
authored andcommitted
Join-PipeScript: Improving Unnamed end block behavior (Fixes #363)
1 parent eafa026 commit 46013db

1 file changed

Lines changed: 28 additions & 20 deletions

File tree

docs/Json.Template.md

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

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

917
Allows PipeScript to generate JSON.
@@ -17,82 +25,82 @@ Multiline comments can be preceeded or followed by 'empty' syntax, which will be
1725
* ```{}```
1826
* ```[]```
1927

28+
29+
2030
---
31+
32+
2133
### Parameters
2234
#### **CommandInfo**
2335

2436
The command information. This will include the path to the file.
2537

2638

2739

28-
> **Type**: ```[CommandInfo]```
2940

30-
> **Required**: true
3141

32-
> **Position**: named
3342

34-
> **PipelineInput**:true (ByValue)
43+
|Type |Required|Position|PipelineInput |
44+
|---------------|--------|--------|--------------|
45+
|`[CommandInfo]`|true |named |true (ByValue)|
3546

3647

3748

38-
---
3949
#### **AsTemplateObject**
4050

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

4353

4454

45-
> **Type**: ```[Switch]```
4655

47-
> **Required**: true
4856

49-
> **Position**: named
5057

51-
> **PipelineInput**:false
58+
|Type |Required|Position|PipelineInput|
59+
|----------|--------|--------|-------------|
60+
|`[Switch]`|true |named |false |
5261

5362

5463

55-
---
5664
#### **Parameter**
5765

5866
A dictionary of parameters.
5967

6068

6169

62-
> **Type**: ```[IDictionary]```
6370

64-
> **Required**: false
6571

66-
> **Position**: named
6772

68-
> **PipelineInput**:false
73+
|Type |Required|Position|PipelineInput|
74+
|---------------|--------|--------|-------------|
75+
|`[IDictionary]`|false |named |false |
6976

7077

7178

72-
---
7379
#### **ArgumentList**
7480

7581
A list of arguments.
7682

7783

7884

79-
> **Type**: ```[PSObject[]]```
8085

81-
> **Required**: false
8286

83-
> **Position**: named
8487

85-
> **PipelineInput**:false
88+
|Type |Required|Position|PipelineInput|
89+
|--------------|--------|--------|-------------|
90+
|`[PSObject[]]`|false |named |false |
91+
92+
8693

8794

8895

8996
---
97+
98+
9099
### Syntax
91100
```PowerShell
92101
Json.Template -CommandInfo <CommandInfo> [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
93102
```
94103
```PowerShell
95104
Json.Template -AsTemplateObject [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
96105
```
97-
---
98106

0 commit comments

Comments
 (0)