cmd

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func GetClaudeBinaryPath

func GetClaudeBinaryPath() string

GetClaudeBinaryPath returns the path to the claude binary. If --claude-bin flag is set, returns that path. Otherwise returns "claude".

func IsVerbose

func IsVerbose() bool

IsVerbose returns whether verbose mode is enabled.

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd returns a new root command instance (useful for testing). Creates a fresh command tree to avoid flag pollution between tests.

Types

type SessionCreateParams

type SessionCreateParams struct {
	Name            string
	Model           string
	Profile         string // named profile from config
	PermissionMode  string
	AllowedTools    []string
	DisallowedTools []string
	AdditionalDirs  []string
	OutputStyle     string // built-in style, custom style name, or inline content
	OutputStyleFile string // path to custom style file
	Context         string // session context (e.g. "working on ticket GH-123")
	EffortLevel     string // effort level (low, medium, high, max)
	Incognito       bool
}

SessionCreateParams holds parameters for creating a new session.

type SessionCreateResult

type SessionCreateResult struct {
	ClotildeRoot string
	Session      *session.Session
	SettingsFile string
}

SessionCreateResult holds the created session and file paths.

Jump to

Keyboard shortcuts

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