Skip to content

Commit

Permalink
fix: Exporting additional variables from Splatter ( re #40 )
Browse files Browse the repository at this point in the history
  • Loading branch information
StartAutomating authored and StartAutomating committed Sep 6, 2024
1 parent 31afa86 commit 9c0d20e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Splatter.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,10 @@ $myScriptTypeCommands = foreach ($myScriptType in $myModule.Name) {

. ([ScriptBlock]::Create($myScriptTypeCommands -join [Environment]::NewLine))

Export-ModuleMember -Alias * -Function * -Variable $myModule.Name
${?@} = $gSplat = $GetSplat = ${function:Get-Splat}
${??@} = $fSplat = $FindSplat = ${function:Find-Splat}
${*@} = $mSplat = $MergeSplat = ${function:Merge-Splat}
${.@} = $uSplat = $UseSplat = ${function:Use-Splat}
${=>@} = $uSplat = $OutSplat = ${function:Out-Splat}

Export-ModuleMember -Alias * -Function * -Variable $myModule.Name, '*@', '*Splat'

0 comments on commit 9c0d20e

Please sign in to comment.