cli

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package cli is the terminal entry point. It owns no operation metadata, no parsing rules, and no rendering: it resolves the invocation route, hands argv to the one dispatcher, and prints the one envelope that dispatcher's result projects. The envelope owns the exit code.

Index

Constants

View Source
const RouteVariable = "SPECD_ROUTE"

RouteVariable lets a host declare which surface it is. It is provenance, not proof: declaring a human terminal never raises any assurance label, and a host that lies only fools itself. Unset, the route is derived from stdin, and a non-terminal stdin is treated as agent-capable so the human gate fails closed.

Variables

This section is empty.

Functions

func Run

func Run(args []string, stdout, stderr io.Writer) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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