llmstxtcmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *redant.Command

New returns a "llms-txt" command that prints a structured plain-text overview of the entire command tree, optimised for LLM consumption.

The output follows the llms.txt convention (https://llmstxt.org/): human-readable Markdown that is also easy for language models to parse and grep.

func WriteJSON

func WriteJSON(w io.Writer, root *redant.Command, maxDepth int) error

WriteJSON writes the command tree as a JSON document to w.

func WriteLLMSTxt

func WriteLLMSTxt(w io.Writer, root *redant.Command, maxDepth int) error

WriteLLMSTxt writes the full command tree documentation to w.

Types

This section is empty.

Jump to

Keyboard shortcuts

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