Documentation ¶
Overview ¶
Package cmd defines the Git Town commands.
Index ¶
Constants ¶
View Source
const ( CompletionTypeBash = CompletionType("bash") CompletionTypeZsh = CompletionType("zsh") CompletionTypeFish = CompletionType("fish") CompletionTypePowershell = CompletionType("powershell") )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompletionType ¶
type CompletionType string
CompletionType defines the valid shells for which Git Town can create auto-completions. This is a type-safe enum, see https://npf.io/2022/05/safer-enums.
func NewCompletionType ¶
func NewCompletionType(text string) (CompletionType, error)
func (CompletionType) String ¶
func (self CompletionType) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.