cmd

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Error added in v0.4.0

type Error struct {
	Message string
}

func (*Error) Error added in v0.4.0

func (r *Error) Error() string

type GitOutput added in v0.5.0

type GitOutput struct {
	Content []byte
	Err     error
}

func (*GitOutput) IsEmpty added in v0.5.0

func (g *GitOutput) IsEmpty() bool

func (*GitOutput) Lines added in v0.5.0

func (g *GitOutput) Lines() []string

func (*GitOutput) ToString added in v0.5.0

func (g *GitOutput) ToString() string

Jump to

Keyboard shortcuts

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