claude

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 20 Imported by: 0

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

func (c *Cmd) OpenLogger(command string) (*slog.Logger, io.Closer)

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.

Directories

Path Synopsis
Package config implements the "scut claude config" command group.
Package config implements the "scut claude config" command group.
Package hook implements the "claude hook" subcommand tree.
Package hook implements the "claude hook" subcommand tree.

Jump to

Keyboard shortcuts

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