PowerAruba / PowerArubaCX

PowerShell module to manage ArubaCX switches
Apache License 2.0
14 stars 4 forks source link

Change commands to follow Powershell best practices (non-plural nouns) #61

Open orion3311 opened 2 years ago

orion3311 commented 2 years ago

Once suggestion would be to change your cmdlets to follow best practices found here: https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/strongly-encouraged-development-guidelines?view=powershell-7.2 and make your nouns non-plural, so get-arubacxinterfaces should be get-arubacxinterface and so on.

I don't always agree with this either but being consistent helps discover the commands if we know they're always singular. Changing this early on will ensure that people don't have to change a bunch of scripts in the future.

alagoutte commented 2 years ago

Hi @orion3311,

Yes i known... but i following the API URI name (system/interfaceS)