cmd

package
v0.0.80 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Overview

Package cmd implements the klausctl CLI commands using Cobra.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute runs the root command.

func SetBuildInfo

func SetBuildInfo(version, commit, date string)

SetBuildInfo sets the build metadata for version display.

Types

type CLICreateParams added in v0.0.34

type CLICreateParams struct {
	BaseName        string
	Workspace       string
	Personality     string
	Toolchain       string
	Plugins         []string
	Port            int
	Env             []string
	EnvForward      []string
	SecretEnv       []string
	SecretFile      []string
	McpServer       []string
	PermMode        string
	Model           string
	SystemPrompt    string
	MaxBudget       float64
	MaxBudgetSet    bool
	Source          string
	Mode            string
	NoIsolate       bool
	NoFetch         bool
	GitAuthor       string
	GitCredHelper   string
	GitHTTPSInstead bool
	Yes             bool
	Force           bool
	GenerateSuffix  bool
}

CLICreateParams holds the flag values and resolved inputs for creating an instance via the CLI. Both create and run populate this from their flags.

Jump to

Keyboard shortcuts

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