cli

package
v0.2.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 70 Imported by: 0

Documentation

Overview

Package cli implements the baum command-line interface.

Index

Constants

View Source
const (
	ExitFailure    = 1
	ExitInput      = 2
	ExitBackend    = 3
	ExitBudget     = 4
	ExitValidation = 5
	// ExitDiagnostics is "baum internal doctor" finding at least one problem.
	ExitDiagnostics = 6
	ExitInterrupted = 130
)

Exit codes for engine failures and desktop diagnostics.

Variables

This section is empty.

Functions

func ExitCode

func ExitCode(err error) int

ExitCode is the process exit code for the error Run returned; nil is 0.

func Run

func Run(args []string, stdin io.Reader, stdout, stderr io.Writer) error

Run dispatches args to the matching subcommand.

Types

This section is empty.

Jump to

Keyboard shortcuts

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