Skip to content

Commit 26566a6

Browse files
StartAutomatingStartAutomating
authored andcommitted
Join-PipeScript: Improving Unnamed end block behavior (Fixes #363)
1 parent 9150f54 commit 26566a6

File tree

1 file changed

+32
-20
lines changed

1 file changed

+32
-20
lines changed

docs/Rust.Template.md

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

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

917
Allows PipeScript to generate Rust.
1018

1119
Multiline comments with /*{}*/ will be treated as blocks of PipeScript.
1220

21+
22+
1323
---
24+
25+
1426
### Examples
1527
#### EXAMPLE 1
1628
```PowerShell
@@ -74,82 +86,82 @@ Invoke-PipeScript .\HelloWorld_Rust.ps1.rs -Parameter @{message='hi'} |
7486
Write-Error "Go install Rust"
7587
}
7688
}
89+
90+
7791
---
92+
93+
7894
### Parameters
7995
#### **CommandInfo**
8096

8197
The command information. This will include the path to the file.
8298

8399

84100

85-
> **Type**: ```[CommandInfo]```
86101

87-
> **Required**: true
88102

89-
> **Position**: named
90103

91-
> **PipelineInput**:true (ByValue)
104+
|Type |Required|Position|PipelineInput |
105+
|---------------|--------|--------|--------------|
106+
|`[CommandInfo]`|true |named |true (ByValue)|
92107

93108

94109

95-
---
96110
#### **AsTemplateObject**
97111

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

100114

101115

102-
> **Type**: ```[Switch]```
103116

104-
> **Required**: true
105117

106-
> **Position**: named
107118

108-
> **PipelineInput**:false
119+
|Type |Required|Position|PipelineInput|
120+
|----------|--------|--------|-------------|
121+
|`[Switch]`|true |named |false |
109122

110123

111124

112-
---
113125
#### **Parameter**
114126

115127
A dictionary of parameters.
116128

117129

118130

119-
> **Type**: ```[IDictionary]```
120131

121-
> **Required**: false
122132

123-
> **Position**: named
124133

125-
> **PipelineInput**:false
134+
|Type |Required|Position|PipelineInput|
135+
|---------------|--------|--------|-------------|
136+
|`[IDictionary]`|false |named |false |
126137

127138

128139

129-
---
130140
#### **ArgumentList**
131141

132142
A list of arguments.
133143

134144

135145

136-
> **Type**: ```[PSObject[]]```
137146

138-
> **Required**: false
139147

140-
> **Position**: named
141148

142-
> **PipelineInput**:false
149+
|Type |Required|Position|PipelineInput|
150+
|--------------|--------|--------|-------------|
151+
|`[PSObject[]]`|false |named |false |
152+
153+
143154

144155

145156

146157
---
158+
159+
147160
### Syntax
148161
```PowerShell
149162
Rust.Template -CommandInfo <CommandInfo> [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
150163
```
151164
```PowerShell
152165
Rust.Template -AsTemplateObject [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
153166
```
154-
---
155167

0 commit comments

Comments
 (0)