PowerShell / PSResourceGet

PSResourceGet is the package manager for PowerShell
https://www.powershellgallery.com/packages/Microsoft.PowerShell.PSResourceGet
MIT License
489 stars 94 forks source link

Cmdlet implementation is inconsistent regarding Path parameters. Make all cmdlets use Path. #753

Closed SydneyhSmith closed 1 year ago

SydneyhSmith commented 2 years ago

Summary of the new feature / enhancement

Cmdlet implementation is inconsistent regarding Path parameters. Make all cmdlets use Path. • The following cmdlets use -Path o Get-PSResource o Publish-PSResource o Save-PSResource o Update-ModuleManifest The following cmdlets use -FilePath o New-PSScriptFileInfo o Test-PSScriptFileInfo o Update-PSScriptFileInfo

Proposed technical implementation details (optional)

No response

alerickson commented 1 year ago

Check that parameters for -Path and -FilePath are correct (not necessarily, consistent, just correct)

Script to check: gcm -mod powershellget | % { gcm $_.Name -syn }

alerickson commented 1 year ago

Consider adding -Path as an alias

alerickson commented 1 year ago

This is resolved now.