cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 59 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package cli wires the stampede command tree.

Index

Constants

View Source
const (
	ExitOK            = 0
	ExitError         = 1
	ExitTargetsFailed = 3
)

Exit codes for `stampede run`.

View Source
const ExitDrift = 4

ExitDrift is returned by drift when a journey broke.

View Source
const ExitRegression = 4

ExitRegression is returned by compare when version B regressed.

View Source
const ExitUnvalidated = 4

ExitUnvalidated is returned by generate when the proposal was not written because a journey failed its dry run.

Variables

View Source
var UI fs.FS

UI is the embedded web app, set by the main package when it is built in.

Functions

func ExitCode

func ExitCode(err error) int

ExitCode returns the exit code for err (1 for ordinary errors).

func NewRoot

func NewRoot() *cobra.Command

NewRoot builds the root command with every subcommand attached.

Types

This section is empty.

Jump to

Keyboard shortcuts

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