cmd

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 49 Imported by: 0

Documentation

Overview

Package cmd implements the command-line interface for the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Deps

type Deps struct {
	Config           *config.Config
	State            *domain.State
	StateMgr         *state.Manager
	SessionStore     *session.Store
	CommandStore     *command.Store
	AuthManager      *auth.Manager
	OAuthManager     *auth.OAuthManager
	LLMRegistry      *provider.LLMRegistry
	ProviderRegistry *provider.Registry
	BootstrapFS      fs.FileSystem
}

Deps holds the core dependencies for the CLI commands.

func Wire

func Wire() (*Deps, error)

Wire initializes the standard application dependency stack.

Jump to

Keyboard shortcuts

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