codex

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: 6 Imported by: 0

Documentation

Overview

Package codex implements the "codex" 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 Codex as subprocesses during lifecycle events."`
	Config config.Cmd `cmd:"config" help:"Configure Codex hooks.json — install or remove scut hooks."`
}

Cmd is the Kong command group for "scut codex".

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.

Directories

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

Jump to

Keyboard shortcuts

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