Documentation
¶
Overview ¶
Package claude implements the "claude" agent command group.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
Log bool `help:"Enable logging to ~/.scut/logging/ at info level."`
LogLevel string `help:"Set log level: debug, info, warn, error (implies --log)." placeholder:"LEVEL"`
Hook hook.Cmd `cmd:"hook" help:"Hook event handlers. Called by Claude Code as subprocesses during lifecycle events."`
StatusLine statusLineCmd `cmd:"status-line" help:"Render the Claude Code status bar. Reads session JSON from stdin, prints styled output to stdout."`
Config config.Cmd `cmd:"config" help:"Configure Claude Code settings.json — install or remove scut hooks and status line."`
}
Cmd is the Kong command group for "scut claude".
func (*Cmd) OpenLogger ¶
OpenLogger returns a logger configured from the --log and --log-level flags. When logging is disabled, returns logging.Discard and a nil closer. The caller must close the returned io.Closer when done.
Click to show internal directories.
Click to hide internal directories.