cli

package
v1.1.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

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