Help us shape the future of Go! Take the 2026 Go Developer Survey

root

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: Apache-2.0 Imports: 65 Imported by: 0

Documentation

Index

Constants

View Source
const AppName = "cagent"

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, stdin io.Reader, stdout, stderr io.Writer, args ...string) error

func NewRootCmd

func NewRootCmd() *cobra.Command

Types

type RuntimeError

type RuntimeError struct {
	Err error
}

RuntimeError wraps runtime errors to distinguish them from usage errors

func (RuntimeError) Error

func (e RuntimeError) Error() string

func (RuntimeError) Unwrap

func (e RuntimeError) Unwrap() error

Jump to

Keyboard shortcuts

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