Skip to content

Commit 2402aec

Browse files
StartAutomatingStartAutomating
authored andcommitted
Join-PipeScript: Improving Unnamed end block behavior (Fixes #363)
1 parent a1a346b commit 2402aec

File tree

1 file changed

+32
-20
lines changed

1 file changed

+32
-20
lines changed

docs/Perl.Template.md

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

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

917
Allows PipeScript to generate Perl.
@@ -12,7 +20,11 @@ Also Transpiles Plain Old Document
1220

1321
PipeScript can be embedded in a Plain Old Document block that starts with ```=begin PipeScript``` and ends with ```=end PipeScript```.
1422

23+
24+
1525
---
26+
27+
1628
### Examples
1729
#### EXAMPLE 1
1830
```PowerShell
@@ -28,82 +40,82 @@ $msg = "hello", "hi", "hey", "howdy" | Get-Random
2840
}
2941

3042
.> .\HelloWorld.ps1.pl
43+
44+
3145
---
46+
47+
3248
### Parameters
3349
#### **CommandInfo**
3450

3551
The command information. This will include the path to the file.
3652

3753

3854

39-
> **Type**: ```[CommandInfo]```
4055

41-
> **Required**: true
4256

43-
> **Position**: named
4457

45-
> **PipelineInput**:true (ByValue)
58+
|Type |Required|Position|PipelineInput |
59+
|---------------|--------|--------|--------------|
60+
|`[CommandInfo]`|true |named |true (ByValue)|
4661

4762

4863

49-
---
5064
#### **AsTemplateObject**
5165

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

5468

5569

56-
> **Type**: ```[Switch]```
5770

58-
> **Required**: true
5971

60-
> **Position**: named
6172

62-
> **PipelineInput**:false
73+
|Type |Required|Position|PipelineInput|
74+
|----------|--------|--------|-------------|
75+
|`[Switch]`|true |named |false |
6376

6477

6578

66-
---
6779
#### **Parameter**
6880

6981
A dictionary of parameters.
7082

7183

7284

73-
> **Type**: ```[IDictionary]```
7485

75-
> **Required**: false
7686

77-
> **Position**: named
7887

79-
> **PipelineInput**:false
88+
|Type |Required|Position|PipelineInput|
89+
|---------------|--------|--------|-------------|
90+
|`[IDictionary]`|false |named |false |
8091

8192

8293

83-
---
8494
#### **ArgumentList**
8595

8696
A list of arguments.
8797

8898

8999

90-
> **Type**: ```[PSObject[]]```
91100

92-
> **Required**: false
93101

94-
> **Position**: named
95102

96-
> **PipelineInput**:false
103+
|Type |Required|Position|PipelineInput|
104+
|--------------|--------|--------|-------------|
105+
|`[PSObject[]]`|false |named |false |
106+
107+
97108

98109

99110

100111
---
112+
113+
101114
### Syntax
102115
```PowerShell
103116
Perl.Template -CommandInfo <CommandInfo> [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
104117
```
105118
```PowerShell
106119
Perl.Template -AsTemplateObject [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
107120
```
108-
---
109121

0 commit comments

Comments
 (0)