cmd

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DepthTitle   = "title"
	DepthCompact = "compact"
	DepthSummary = "summary"
	DepthFull    = "full"
)

Depth levels for progressive disclosure.

Variables

ValidDepths lists all valid depth values.

Functions

func Execute

func Execute()

Execute runs the root command.

func SetVersionInfo

func SetVersionInfo(version, commit, date string)

SetVersionInfo sets version info from main (populated via ldflags)

Types

type TreeNode

type TreeNode struct {
	*felt.Felt
	Children []*TreeNode `json:"children,omitempty"`
}

TreeNode represents a felt with its children for JSON output.

Jump to

Keyboard shortcuts

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