PowerShell / PowerShellGet

This module provide functions used with PowerShellGet v3 to provide compatibility with scripts expecting PowerShellGet v2
MIT License
49 stars 13 forks source link

Need to add aliases for Module cmdlets to match v2 user experience #35

Closed sdwheeler closed 9 months ago

sdwheeler commented 1 year ago

Prerequisites

Steps to reproduce

PowerShellGet V2 has aliases for the 4 module cmdlets. These are not defined in the compat module.

PS> fimo
fimo: The term 'fimo' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Expected behavior

get-alias fimo,inmo,pumo,upmo

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Alias           fimo -> Find-Module                                0.0.4      CompatPowerShellGet
Alias           inmo -> Install-Module                             0.0.4      CompatPowerShellGet
Alias           pumo -> Publish-Module                             0.0.4      CompatPowerShellGet
Alias           upmo -> Update-Module                              0.0.4      CompatPowerShellGet

Actual behavior

Get-Alias: This command cannot find a matching alias because an alias with the name 'fimo' does not exist.
Get-Alias: This command cannot find a matching alias because an alias with the name 'inmo' does not exist.
Get-Alias: This command cannot find a matching alias because an alias with the name 'pumo' does not exist.
Get-Alias: This command cannot find a matching alias because an alias with the name 'upmo' does not exist.

Error details

No response

Environment data

CompatPowerShellGet 0.0.4
PowerShellGet 3.0.21-beta21

Version

0.0.4

Visuals

No response