Skip to content

Commit 7f42f7d

Browse files
StartAutomatingStartAutomating
authored andcommitted
Join-PipeScript: Improving Unnamed end block behavior (Fixes #363)
1 parent 234d7ff commit 7f42f7d

File tree

1 file changed

+28
-20
lines changed

1 file changed

+28
-20
lines changed

docs/TypeScript.Template.md

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

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

917
Allows PipeScript to generate TypeScript.
@@ -21,82 +29,82 @@ The TypeScript Inline Transpiler will consider the following syntax to be empty:
2129
* ```""```
2230
* ```''```
2331

32+
33+
2434
---
35+
36+
2537
### Parameters
2638
#### **CommandInfo**
2739

2840
The command information. This will include the path to the file.
2941

3042

3143

32-
> **Type**: ```[CommandInfo]```
3344

34-
> **Required**: true
3545

36-
> **Position**: named
3746

38-
> **PipelineInput**:true (ByValue)
47+
|Type |Required|Position|PipelineInput |
48+
|---------------|--------|--------|--------------|
49+
|`[CommandInfo]`|true |named |true (ByValue)|
3950

4051

4152

42-
---
4353
#### **AsTemplateObject**
4454

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

4757

4858

49-
> **Type**: ```[Switch]```
5059

51-
> **Required**: true
5260

53-
> **Position**: named
5461

55-
> **PipelineInput**:false
62+
|Type |Required|Position|PipelineInput|
63+
|----------|--------|--------|-------------|
64+
|`[Switch]`|true |named |false |
5665

5766

5867

59-
---
6068
#### **Parameter**
6169

6270
A dictionary of parameters.
6371

6472

6573

66-
> **Type**: ```[IDictionary]```
6774

68-
> **Required**: false
6975

70-
> **Position**: named
7176

72-
> **PipelineInput**:false
77+
|Type |Required|Position|PipelineInput|
78+
|---------------|--------|--------|-------------|
79+
|`[IDictionary]`|false |named |false |
7380

7481

7582

76-
---
7783
#### **ArgumentList**
7884

7985
A list of arguments.
8086

8187

8288

83-
> **Type**: ```[PSObject[]]```
8489

85-
> **Required**: false
8690

87-
> **Position**: named
8891

89-
> **PipelineInput**:false
92+
|Type |Required|Position|PipelineInput|
93+
|--------------|--------|--------|-------------|
94+
|`[PSObject[]]`|false |named |false |
95+
96+
9097

9198

9299

93100
---
101+
102+
94103
### Syntax
95104
```PowerShell
96105
TypeScript.Template -CommandInfo <CommandInfo> [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
97106
```
98107
```PowerShell
99108
TypeScript.Template -AsTemplateObject [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
100109
```
101-
---
102110

0 commit comments

Comments
 (0)