cli

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string, stdout, stderr io.Writer) int

Run executes the CLI. It returns an exit code.

Types

type Context

type Context struct {
	Root     string
	Config   string
	Format   string
	FailFast bool
	Yes      bool
	Verbose  bool
	Stdout   io.Writer
	Stderr   io.Writer
}

func (*Context) Stdin

func (ctx *Context) Stdin() io.Reader

Jump to

Keyboard shortcuts

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