Documentation
¶
Overview ¶
Package cmd provides the command-line interface for KSail.
This package contains all CLI commands and subcommands for the KSail application, including initialization, cluster management (up, down, start, stop, status, list), and other utility commands for working with local Kubernetes clusters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChatCmd ¶ added in v5.24.0
NewChatCmd creates and returns the chat command.
func NewRootCmd ¶
NewRootCmd creates and returns the root command with version info and subcommands.
func WrapToolsWithPermissionAndMode ¶ added in v5.25.1
func WrapToolsWithPermissionAndMode( tools []copilot.Tool, eventChan chan tea.Msg, agentModeRef *chatui.AgentModeRef, ) []copilot.Tool
WrapToolsWithPermissionAndMode wraps ALL tools with mode enforcement and permission prompts. In plan mode, ALL tool execution is blocked (model can only describe what it would do). In agent mode, mutable tools require permission, while read-only tools are auto-approved.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cipher provides the cipher command for integrating with SOPS.
|
Package cipher provides the cipher command for integrating with SOPS. |
|
Package cluster groups all KSail cluster lifecycle Cobra commands under a single namespace.
|
Package cluster groups all KSail cluster lifecycle Cobra commands under a single namespace. |
|
Package workload provides the workload command namespace.
|
Package workload provides the workload command namespace. |
|
gen
Package gen provides the gen command namespace for generating Kubernetes resources.
|
Package gen provides the gen command namespace for generating Kubernetes resources. |