commands

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package commands defines CLI subcommands for lea.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is the current build version for the CLI.

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command and sets flags appropriately.

Types

type HookInput added in v0.2.2

type HookInput struct {
	ToolName       string         `json:"tool_name"`
	ToolNameCamel  string         `json:"toolName"`
	ToolInput      map[string]any `json:"tool_input"`
	ToolInputCamel map[string]any `json:"toolInput"`
}

HookInput represents the JSON payload passed to PreToolUse hooks by Claude Code and other agents.

Jump to

Keyboard shortcuts

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