-
Notifications
You must be signed in to change notification settings - Fork 10
Shorter Cmdlet Aliases #26
Description
I know aliases can be disputed and such on commands. I still think it would be a worthy investment to add some default aliases in the module built-in to the psd1 and using the param [Alias('galias')] attribute. Considering, I assume this module will be used interactively ( at least that is how I imagine it ).
I haven't thought about the exact aliases too much. Just wanted to throw it out there. I would say we should begin the aliases with ct for ConvertTo and cf for ConvertFrom like the output from Get-Verb Convert*.
So maybe
ctstrforConvertTo-StringcfbatmsforConvertFrom-ByteArrayToMemoryStreamcfbatbsforConvertFrom-ByteArrayToBase64
Not sure if Base64 should be bs or b64 . Not having to type numbers would be nicer, I think. ms makes sense for MemoryStream and ba for ByteArray. Not sure if we need a t for the To portion.
I did a quick Find-PSResource -CommandName check and didn't see any collisions.