powershellwrapper icon indicating copy to clipboard operation
powershellwrapper copied to clipboard

Consider PascalCase Parameter Aliases

Open CalebAlbers opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. Function parameters in this module use snake_case naming, which flies in the face of Microsoft's best practices of using PascalCase naming. This was a decision I made in the early days of development when I wasn't familiar with PowerShell, but it has the unfortunate side-effect of making use of the module more difficult for people proficient with PowerShell who would expect an idiomatic experience.

Describe the solution you'd like Switching to using PascalCase for function parameters by default, with parameter aliases for their existing snake_case alternatives would provide a more idiomatic experience, while also providing backward compatibility with existing scripts.

CalebAlbers avatar Dec 04 '22 21:12 CalebAlbers