Skip to content

Commit 13118ff

Browse files
StartAutomatingStartAutomating
authored andcommitted
Updating workflow (consolidating)
1 parent 84d42fa commit 13118ff

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

PipeScript.psm1

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@ $aliasList +=
1919
})
2020

2121

22+
$pipeScriptKeywords =
23+
Get-Transpiler |
24+
Where-Object { $_.Metadata.'PipeScript.Keyword' } |
25+
Select-Object -ExpandProperty DisplayName
26+
27+
$aliasList +=
28+
29+
@(foreach ($alias in @($pipeScriptKeywords)) {
30+
Set-Alias "$alias" "Use-PipeScript" -PassThru:$True
31+
})
32+
33+
2234
$MyModule = $MyInvocation.MyCommand.ScriptBlock.Module
2335
$aliasList +=
2436

0 commit comments

Comments
 (0)