-
-
Notifications
You must be signed in to change notification settings - Fork 272
Parameters to psake cmdlets are camelCase, not PascalCase #308
Copy link
Copy link
Closed
Labels
Description
Expected Behavior
Most other PowerShell modules use PascalCase naming convention for named parameters in cmdlets.
e.g. see discussion here:
PoshCode/PowerShellPracticeAndStyle#36 (comment)
or the official MS style guide
https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/strongly-encouraged-development-guidelines?view=powershell-7.1
Current Behavior
parameters are in camelCase, as seen when running
Get-Help Task
Possible Solution
Refactor parameters to PascalCase. Should not be breaking change as PowerShell is case insensitive, but Intellisense would then suggest PascalCase parameters instead of camelCase.
Context
Annoyance / Visual
Your Environment
PowerShell 7.1.1
psake 4.9.0
Reactions are currently unavailable