Documentation ¶
Overview ¶
Package cmd defines the Git Town commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CompletionTypeBash = CompletionType{"bash"} //nolint:gochecknoglobals CompletionTypeZsh = CompletionType{"zsh"} //nolint:gochecknoglobals CompletionTypeFish = CompletionType{"fish"} //nolint:gochecknoglobals CompletionTypePowershell = CompletionType{"powershell"} //nolint:gochecknoglobals )
Functions ¶
Types ¶
type CompletionType ¶
type CompletionType struct {
// contains filtered or unexported fields
}
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
type ConfigConfig ¶
type ConfigConfig struct {
// contains filtered or unexported fields
}
Source Files ¶
- aliases.go
- append.go
- completions.go
- config.go
- config_mainbranch.go
- config_offline.go
- config_perennial_branches.go
- config_push_hook.go
- config_push_new_branches.go
- config_reset.go
- config_setup.go
- config_sync_feature_strategy.go
- config_sync_perennial_strategy.go
- continue.go
- core.go
- diff_parent.go
- hack.go
- kill.go
- new_pull_request.go
- prepend.go
- propose.go
- rename_branch.go
- repo.go
- root.go
- set_parent.go
- ship.go
- skip.go
- status.go
- status_reset.go
- switch.go
- sync.go
- undo.go
Click to show internal directories.
Click to hide internal directories.