cli

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: GPL-3.0 Imports: 29 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 command-line interface and returns a process exit code.

func RunWithOptions

func RunWithOptions(args []string, stdout, stderr io.Writer, opts Options) int

Types

type DebugTerminalWriter added in v0.2.0

type DebugTerminalWriter interface {
	WriteRunReport(debugbundle.RunReport) error
	WriteError(string) error
}

type LLMRuntimeOverrides added in v0.2.0

type LLMRuntimeOverrides struct {
	ReasoningEffort *string
}

type Options

type Options struct {
	Catalog               pipeline.ModuleCatalog
	Registries            pipeline.Registries
	LLMClientFactory      LLMClientFactory
	RunIDGenerator        RunIDGenerator
	LookupEnv             func(string) (string, bool)
	Now                   func() time.Time
	UserCacheDir          func() (string, error)
	ChunkPlanStoreFactory pipeline.ChunkPlanStoreFactory
	DebugRecorderFactory  func(string) (pipeline.DebugRecorder, error)
	DebugTerminalFactory  func(*debugbundle.SummaryWriter) DebugTerminalWriter
	// contains filtered or unexported fields
}

type RunIDGenerator added in v0.2.0

type RunIDGenerator func(time.Time) (string, error)

Jump to

Keyboard shortcuts

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