Skip to content

Commit 1d42b91

Browse files
StartAutomatingStartAutomating
authored andcommitted
Updating PipeScript Tests (adding test for source generator parameters (#75))
1 parent bc41ff4 commit 1d42b91

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

docs/PipeScript.Inline.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,32 @@ A Script Block that will be injected after each inline script is run.
118118
|-------------------|--------|-------|-------------|
119119
|```[ScriptBlock]```|false |named |false |
120120
---
121+
#### **Parameter**
122+
123+
A collection of parameters
124+
125+
126+
127+
|Type |Requried|Postion|PipelineInput|
128+
|-------------------|--------|-------|-------------|
129+
|```[IDictionary]```|false |named |false |
130+
---
131+
#### **ArgumentList**
132+
133+
An argument list.
134+
135+
136+
137+
|Type |Requried|Postion|PipelineInput|
138+
|------------------|--------|-------|-------------|
139+
|```[PSObject[]]```|false |named |false |
140+
---
121141
### Syntax
122142
```PowerShell
123-
PipeScript.Inline -SourceText <String> -StartPattern <Regex> -EndPattern <Regex> [-ReplacementEvaluator <ScriptBlock>] [-NoTranspile] [-SourceFile <String>] [-Begin <ScriptBlock>] [-ForeachObject <ScriptBlock>] [-End <ScriptBlock>] [<CommonParameters>]
143+
PipeScript.Inline -SourceText <String> -StartPattern <Regex> -EndPattern <Regex> [-ReplacementEvaluator <ScriptBlock>] [-NoTranspile] [-SourceFile <String>] [-Begin <ScriptBlock>] [-ForeachObject <ScriptBlock>] [-End <ScriptBlock>] [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
124144
```
125145
```PowerShell
126-
PipeScript.Inline -SourceText <String> -ReplacePattern <Regex> [-ReplacementEvaluator <ScriptBlock>] [-NoTranspile] [-SourceFile <String>] [-Begin <ScriptBlock>] [-ForeachObject <ScriptBlock>] [-End <ScriptBlock>] [<CommonParameters>]
146+
PipeScript.Inline -SourceText <String> -ReplacePattern <Regex> [-ReplacementEvaluator <ScriptBlock>] [-NoTranspile] [-SourceFile <String>] [-Begin <ScriptBlock>] [-ForeachObject <ScriptBlock>] [-End <ScriptBlock>] [-Parameter <IDictionary>] [-ArgumentList <PSObject[]>] [<CommonParameters>]
127147
```
128148
---
129149

0 commit comments

Comments
 (0)