cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentHelp added in v0.1.2

func AgentHelp() string

AgentHelp returns a structured guide for AI coding agents

func EnsureLnavFormat added in v0.1.3

func EnsureLnavFormat() bool

EnsureLnavFormat installs the lnav format if it is not already present. Errors are non-fatal — lnav is optional. Returns true if the format was installed.

func LnavFormatInstalled() bool

LnavFormatInstalled reports whether the lnav format is installed at the default location.

func LnavFormatJSON() string

LnavFormatJSON returns the lnav format definition for docker-agent-tail JSONL.

func RunInit

func RunInit(outputDir string) error

RunInit initializes docker-agent-tail config for AI agents

func RunLnav added in v0.1.3

func RunLnav(outputDir string, sessionName string) error

RunLnav opens the latest (or specified) session in lnav.

func RunLnavInstall added in v0.1.3

func RunLnavInstall() error

RunLnavInstall installs the lnav format definition to ~/.lnav/formats/installed/.

func RunLnavInstallTo added in v0.1.3

func RunLnavInstallTo(dir string) error

RunLnavInstallTo installs the lnav format definition to the specified directory. If dir is empty, it defaults to ~/.lnav/formats/installed/.

Types

This section is empty.

Jump to

Keyboard shortcuts

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