Skip to content

Commit

Permalink
alias export test
Browse files Browse the repository at this point in the history
  • Loading branch information
ninmonkey committed Dec 4, 2023
1 parent 07dd168 commit 1688075
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Pwsh/Modules/Test-DoAliasesAttributesAutoExport.psm1
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
'Testing: Do aliases auto-export if the command they are attributes to, are? Nope.' | write-host
'Testing: Do aliases auto-export if the command they are attributes to, are?' | write-host

function Alice.GetCommand {
gcm -m Test-Do
}

function InternalFunc {
[alias('Ini.Func')]
[alias('Ini.Func', 'Alice.InKnee')]
param()
$MyInvocation.MyCommand.Name
}
Expand Down

0 comments on commit 1688075

Please sign in to comment.