cmd

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is set dynamically via ldflags during build.

Functions

func AutoInstall

func AutoInstall() error

AutoInstall attempts to install Claude CLI globally via official script. It uses curl/bash on macOS/Linux and powershell on Windows.

func Execute

func Execute()

func IsInstalled

func IsInstalled() bool

IsInstalled returns true if the 'claude' CLI executable is found in system PATH.

func RootCmd

func RootCmd() *cobra.Command

func RunInstallerScript

func RunInstallerScript() error

func RunProviderSet added in v1.2.7

func RunProviderSet(args []string) error

func SetCMD

func SetCMD() *cobra.Command

Types

type AdvancedConfigModel added in v1.2.0

type AdvancedConfigModel struct {

	// Page 4
	IsActiveChosen bool
	// contains filtered or unexported fields
}

func NewAdvancedConfigModel added in v1.2.0

func NewAdvancedConfigModel(p *provider.Provider) *AdvancedConfigModel

func NewAdvancedConfigModelAtPage1 added in v1.2.2

func NewAdvancedConfigModelAtPage1(p *provider.Provider, modelPool []string) *AdvancedConfigModel

NewAdvancedConfigModelAtPage1 creates a model starting at page 1 (slot mapping) with a pre-populated model pool, skipping the credential page.

func (*AdvancedConfigModel) Init added in v1.2.0

func (m *AdvancedConfigModel) Init() tea.Cmd

func (*AdvancedConfigModel) Update added in v1.2.0

func (m *AdvancedConfigModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*AdvancedConfigModel) View added in v1.2.0

func (m *AdvancedConfigModel) View() tea.View

Jump to

Keyboard shortcuts

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