view

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package view holds only what a command and the components it renders with share: how a task ended.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskResult

type TaskResult int

TaskResult is how a task ended.

The Task component switches on it, and a task callback returns one.

const (
	// TaskSuccess prints DONE.
	TaskSuccess TaskResult = 1
	// TaskFailure prints FAIL.
	TaskFailure TaskResult = 2
	// TaskSkipped prints SKIPPED.
	TaskSkipped TaskResult = 3
)

Directories

Path Synopsis
Package components is the set of shapes a command prints in.
Package components is the set of shapes a command prints in.

Jump to

Keyboard shortcuts

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