cmd

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 32 Imported by: 1 module, 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the CLI and exits with the documented status.

func Run

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

Run executes args against the root command and returns the exit code.

Types

type ReceiptStatus added in v3.3.0

type ReceiptStatus struct {
	Action        string   `json:"action"`
	Phase         string   `json:"phase"`
	State         string   `json:"state"`
	Complete      bool     `json:"complete"`
	Matched       int      `json:"matched"`
	Attempted     int      `json:"attempted"`
	Succeeded     int      `json:"succeeded"`
	Failed        int      `json:"failed"`
	Skipped       int      `json:"skipped"`
	NotAttempted  int      `json:"notAttempted"`
	Unverified    int      `json:"unverified"`
	Planned       int      `json:"planned,omitempty"`
	Receipts      []string `json:"receipts,omitempty"`
	LastAction    string   `json:"lastAction"`
	PartialLine   bool     `json:"partialLine"`
	StoppedReason string   `json:"stoppedReason,omitempty"`
}

ReceiptStatus reports only durable observations. A journal without a terminal event cannot distinguish a running process from one killed without cleanup.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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