cli

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Annotate

func Annotate(cmd *cli.Command, meta murli.Metadata)

Annotate stores murli Metadata in the command's Metadata map.

func BuildV3DescribeTree added in v0.3.0

func BuildV3DescribeTree(cmd *cli.Command) murli.DescribeCommandSchema

BuildV3DescribeTree recursively builds the full DescribeCommandSchema for a v3 command.

func EmitSchema

func EmitSchema(cmd *cli.Command, w io.Writer) error

EmitSchema writes the agent-optimized JSON schema for a command to w.

func NewWriter

func NewWriter(cmd *cli.Command) *murli.Writer

NewWriter returns a murli Writer configured from a urfave/cli v3 command.

func Run

func Run(app *cli.Command, args []string) error

Run enables murli on app and calls app.Run.

func Wrap

func Wrap(app *cli.Command)

Wrap injects --schema and --agent flags and wraps all command Actions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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