Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(args []string) int

func NewRoot

func NewRoot() *cobra.Command

Types

type App

type App struct {
	Paths   config.Paths
	Cfg     config.Config
	RepoDir string
	Out     io.Writer
	Err     io.Writer
	JSON    bool
	NoColor bool
	Verbose bool
	// contains filtered or unexported fields
}

type Error

type Error struct {
	Msg  string
	Hint string
	Code int
	Err  error
}

func (*Error) Error

func (e *Error) Error() string

func (*Error) Unwrap

func (e *Error) Unwrap() error

Jump to

Keyboard shortcuts

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