cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

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.

func GetBuildDate

func GetBuildDate() string

GetBuildDate returns the build date

func GetCommit

func GetCommit() string

GetCommit returns the git commit hash

func GetMCPRegistry

func GetMCPRegistry() *mcp.Registry

GetMCPRegistry returns the global MCP registry for use by other commands.

func GetModel

func GetModel() string

GetModel returns the configured AI model

func GetProvider

func GetProvider() string

GetProvider returns the configured AI provider

func GetVerbose

func GetVerbose() bool

GetVerbose returns the verbose flag value

func GetVersion

func GetVersion() string

GetVersion returns the version string

func NewChatCmd

func NewChatCmd() *cobra.Command

NewChatCmd returns the chat command for testing/benchmarking

func NewConfigCmd

func NewConfigCmd() *cobra.Command

NewConfigCmd returns the config command for testing/benchmarking

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd returns a new root command instance for testing/benchmarking

func NewSessionCmd

func NewSessionCmd() *cobra.Command

NewSessionCmd returns the session command for testing/benchmarking

func SetBuildDate

func SetBuildDate(d string)

SetBuildDate sets the build date (used by build scripts)

func SetBuiltBy

func SetBuiltBy(b string)

SetBuiltBy sets the builder (used by build scripts)

func SetCommit

func SetCommit(c string)

SetCommit sets the commit hash (used by build scripts)

func SetVersion

func SetVersion(v string)

SetVersion sets the version (used by build scripts)

Types

This section is empty.

Jump to

Keyboard shortcuts

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