cli

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrReported = errors.New("failure already reported")

ErrReported is returned by a command that has already described its failure on screen, so only the exit status is left to set.

Functions

func PrintError added in v0.3.0

func PrintError(w io.Writer, err error)

PrintError reports a command's error on w: a red line on a terminal, a "codexctl:" prefixed line otherwise.

func Run

func Run(args []string, stdin io.Reader, stdout, stderr io.Writer) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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