cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func SetVersion

func SetVersion(v, c, d string)

Types

type App

type App struct {
	Cfg        *config.Config
	Logger     *observability.Logger
	AI         *ai.Client
	Approval   *approval.Manager
	Store      *memory.Store
	Checkpoint *checkpoint.Recorder
	RepoRoot   string
}

func (*App) Say added in v0.4.0

func (a *App) Say(text string)

Say prints a friendly summary of the given facts when Output.Friendly is on. It is a no-op otherwise (the raw command output above is assumed to already cover the user). If the AI call fails the raw text is printed as a fallback.

Pass concise, factual text — paths, branches, counts, suggested commands — and the AI rephrases into plain easy-to-read prose in Output.Language.

Jump to

Keyboard shortcuts

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