Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 NewRootCmd ¶
NewRootCmd returns a new root command instance (useful for testing) This creates a fresh command tree to avoid flag pollution between tests
Types ¶
type SessionCreateParams ¶
type SessionCreateParams struct {
Name string
Model string
SystemPrompt string // inline content (append mode)
SystemPromptFile string // path to read from (append mode)
ReplaceSystemPrompt string // inline content (replace mode)
ReplaceSystemPromptFile string // path to read from (replace mode)
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
Incognito bool
}
SessionCreateParams holds parameters for creating a new session.
Click to show internal directories.
Click to hide internal directories.