cli

package
v0.0.0-...-942f91a Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: MIT Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitCode

func ExitCode(err error) int

Types

type Options

type Options struct {
	Version           string
	License           string
	ThirdPartyNotices string
	GCPercent         int
	GCPolicyApplied   bool
}

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func New

func New(options Options) *Runner

func (*Runner) Run

func (r *Runner) Run(
	ctx context.Context,
	args []string,
	in io.Reader,
	out,
	errOut io.Writer,
) (runErr error)

Jump to

Keyboard shortcuts

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