We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bc1d05 commit 31e1724Copy full SHA for 31e1724
docs/Update-PipeScript.md
@@ -13,6 +13,30 @@ Update-PipeScript is used by PipeScript transpilers in order to make a number of
13
14
It can also be used interactively to transform scripts or text in a number of ways.
15
16
+---
17
+### Examples
18
+#### EXAMPLE 1
19
+```PowerShell
20
+Update-PipeScript -ScriptBlock {
21
+ param($x,$y)
22
+} -RemoveParameter x
23
+```
24
+
25
+#### EXAMPLE 2
26
27
+Update-PipeScript -RenameVariable @{x='y'} -ScriptBlock {$x}
28
29
30
+#### EXAMPLE 3
31
32
33
+ #region MyRegion
34
+ 1
35
+ #endregion MyRegion
36
+ 2
37
+} -RegionReplacement @{MyRegion=''}
38
39
40
---
41
### Parameters
42
#### **ScriptBlock**
0 commit comments