cofonseca / HipChatAdmin

A PowerShell module designed to interact with Atlassian HipChat.
6 stars 2 forks source link

Format-CasedName Should Be Hidden To Users #3

Closed cofonseca closed 7 years ago

cofonseca commented 7 years ago

Format-CasedName is being stored in the "Private" folder since it is a helper function. The function itself has nothing to do with HipChat and is only used to properly format names before creating a user.

I would like to figure out the best way for this function to remain usable by my other functions, without it being shown as a command in Get-Command -Module PSHipChat. I don't want a user to be able to use it or know that it's there.

cofonseca commented 7 years ago

The function has been renamed to FormatCasedName (no hyphen). I was mistakenly exporting functions from the Private folder in my module file, so that has been fixed.

Tested and confirmed that this has been resolved. The helper function still works but is not visible to the user.