Skip to content

Parameters to psake cmdlets are camelCase, not PascalCase #308

@fgodskesen

Description

@fgodskesen

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions