PSGit icon indicating copy to clipboard operation
PSGit copied to clipboard

Naming of commands

Open lw-schick opened this issue 9 years ago • 2 comments

Can we rename all the commands with the prefix "Git"? f.e.:

Get-GitBranch instead of Get-Branch - or - New-GitRemote instead of New-Remote?

I think that is more like the PowerShell naming standard. When you take a look at the module SQLPS, you will find out that next to all commands are using Sql as the prefix.

lw-schick avatar Nov 09 '16 16:11 lw-schick

Also I personally think private function like

Function        GitConvertColor                                    2.0.4      PSGit
Function        GitWriteMessage                                    2.0.4      PSGit

should not be exported.

czhang03 avatar Feb 15 '17 20:02 czhang03

The commands are prefixed by the psd1, and the private functions are supposed to be blocked by it, but aren't right now!

The idea was that FunctionsToExport should be set to "*-*" not to "*" ... thus preventing the private functions from being exported.

Jaykul avatar Feb 17 '17 15:02 Jaykul