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 4514465 commit 511efa4Copy full SHA for 511efa4
PipeScript.ps1.psm1
@@ -0,0 +1,17 @@
1
+[Include('*-*')]$psScriptRoot
2
+
3
+$aliasNames = @()
4
+foreach ($transpilerCmd in Get-Transpiler) {
5
+ $aliasNames += ".>$($transpilerCmd.DisplayName)"
6
+ Set-Alias ".>$($transpilerCmd.DisplayName)" Use-PipeScript
7
+ $aliasNames += ".<$($transpilerCmd.DisplayName)>"
8
+ Set-Alias ".<$($transpilerCmd.DisplayName)>" Use-PipeScript
9
+}
10
11
+foreach ($cmd in $ExecutionContext.SessionState.InvokeCommand.GetCommands('*','Function', $true)) {
12
+ if ($cmd.ScriptBlock.Attributes.AliasNames) {
13
+ $aliasNames += $cmd.ScriptBlock.Attributes.AliasNames
14
+ }
15
16
17
+Export-ModuleMember -Function * -Alias $aliasNames
0 commit comments