github

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrClientFailed = errors.New("client failed")

ErrClientFailed when client operations has failed.

Functions

This section is empty.

Types

type Client

type Client struct {
	Args         []string
	DisableColor bool
	ProjectDir   string
}

Client a client for Github CLI.

func NewClient

func NewClient(args ...string) Client

NewClient creates new client.

func (Client) Execute

func (c Client) Execute(ctx context.Context) ([]byte, error)

Execute a Github client CLI command.

Jump to

Keyboard shortcuts

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