cli

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Main is the process entrypoint shared by the root compatibility command and cmd/uam.

func NewService

func NewService(st *store.Store) *app.Service

NewService wires the app service and supported agent adapters.

func Run

func Run(ctx context.Context, args []string) error

Run executes the CLI using the default Bubble Tea TUI runner.

func RunDispatch

func RunDispatch(ctx context.Context, svc *app.Service, args []string) error

RunDispatch dispatches a prompt to an agent from CLI args.

func RunTUI

func RunTUI(ctx context.Context, model tea.Model) error

RunTUI launches the Bubble Tea TUI. The terminal probe runs first so the glyph-set decision is installed before the first frame renders.

func RunWithTUI

func RunWithTUI(ctx context.Context, args []string, runTUI func(context.Context, tea.Model) error) error

RunWithTUI executes the CLI with an injectable TUI runner for tests.

func Usage

func Usage()

Usage prints CLI help.

Types

This section is empty.

Jump to

Keyboard shortcuts

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