root

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: Apache-2.0 Imports: 50 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 added in v1.5.6

type RuntimeError struct {
	Err error
}

RuntimeError wraps runtime errors to distinguish them from usage errors

func (RuntimeError) Error added in v1.5.6

func (e RuntimeError) Error() string

func (RuntimeError) Unwrap added in v1.5.6

func (e RuntimeError) Unwrap() error

Jump to

Keyboard shortcuts

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