PoshCode / PSGit

A PowerShell implementation of Git, mapping git commands to Verb-Noun and objects.
105 stars 15 forks source link

Naming of commands #51

Open lw-schick opened 7 years ago

lw-schick commented 7 years ago

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.

czhang03 commented 7 years ago

Also I personally think private function like

Function        GitConvertColor                                    2.0.4      PSGit
Function        GitWriteMessage                                    2.0.4      PSGit

should not be exported.

Jaykul commented 7 years ago

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.