cmd

package
v12.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 41 Imported by: 0

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

func Execute

func Execute() error

Execute runs the Cobra stack.

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL