Documentation
¶
Index ¶
- Variables
- func AutoInstall() error
- func Execute()
- func IsInstalled() bool
- func RootCmd() *cobra.Command
- func RunConfSet(args []string) error
- func RunInstallerScript() error
- func RunSlotConfigTUI(slotName string, models []string, currentModel string, enable1M bool) (slotConfigResult, error)
- func SetCMD() *cobra.Command
- type Lang
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 IsInstalled ¶
func IsInstalled() bool
IsInstalled returns true if the 'claude' CLI executable is found in system PATH.
func RunConfSet ¶ added in v1.1.1
RunConfSet is the shared logic for "ccl set" / "ccl conf set" / "ccl conf".
func RunInstallerScript ¶
func RunInstallerScript() error
func RunSlotConfigTUI ¶ added in v1.1.0
Types ¶
Click to show internal directories.
Click to hide internal directories.