Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package cli is tap's command line. Run bare by an agent, tap serves MCP; every other invocation is a command for a person, on the same engine, which is closed before returning.

Output a person asked for goes to stdout; what tap says about it goes to stderr. Exit codes are 0 for success, 1 for a command that failed, and 2 for a command that was called wrongly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, args []string, version string, stdout, stderr io.Writer) int

Run executes a command and returns its process exit code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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