cmd

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package cmd provides the command line interface. Build variables are set via ldflags during build time.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the root command.

Types

type BuildInfo

type BuildInfo struct {
	Version string
	Commit  string
	Date    string
}

BuildInfo holds version information set by ldflags.

func GetBuildInfo

func GetBuildInfo() BuildInfo

GetBuildInfo returns build information.

type CLI

type CLI struct {
	// contains filtered or unexported fields
}

CLI holds the command line interface state.

func NewCLI

func NewCLI() *CLI

NewCLI creates a new CLI instance.

type ProjectNotFoundError

type ProjectNotFoundError struct {
	Path string
}

ProjectNotFoundError is returned when the Claude project directory does not exist.

func (*ProjectNotFoundError) Error

func (e *ProjectNotFoundError) Error() string

Jump to

Keyboard shortcuts

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