cmd

package
v5.36.4 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package cmd provides the command-line interface for KSail.

This package contains the root command and delegates to subcommand packages:

  • chat: AI-assisted chat sessions powered by GitHub Copilot
  • cipher: Secret encryption and decryption with SOPS
  • cluster: Cluster lifecycle management (create, delete, start, stop, etc.)
  • mcp: Model Context Protocol server for AI assistants
  • workload: Workload management (apply, push, gen, etc.)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(cmd *cobra.Command) error

Execute runs the provided root command and handles errors.

func NewRootCmd

func NewRootCmd(version, commit, date string) *cobra.Command

NewRootCmd creates and returns the root command with version info and subcommands.

Types

This section is empty.

Directories

Path Synopsis
Package chat implements the AI-assisted chat command.
Package chat implements the AI-assisted chat command.
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 mcp implements the MCP server command.
Package mcp implements the MCP server command.
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.

Jump to

Keyboard shortcuts

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