Skip to content

Commit 51bfbe7

Browse files
authored
Merge pull request #37 from sdwheeler/sdw-i35
2 parents 25ff74c + d40714f commit 51bfbe7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/CompatPowerShellGet.psm1

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2818,6 +2818,11 @@ param(
28182818
#>
28192819
}
28202820

2821+
New-Alias -Name fimo -Value Find-Module
2822+
New-Alias -Name inmo -Value Install-Module
2823+
New-Alias -Name pumo -Value Publish-Module
2824+
New-Alias -Name upmo -Value Update-Module
2825+
28212826
$functionsToExport = @(
28222827
"Find-Command",
28232828
"Find-DscResource",
@@ -2845,4 +2850,11 @@ $functionsToExport = @(
28452850
"Update-ScriptFileInfo"
28462851
)
28472852

2848-
export-ModuleMember -Function $functionsToExport
2853+
$aliasesToExport = @('
2854+
fimo',
2855+
'inmo',
2856+
'pumo',
2857+
'upmo'
2858+
)
2859+
2860+
export-ModuleMember -Function $functionsToExport -Alias $aliasesToExport

0 commit comments

Comments
 (0)