tasks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	// contains filtered or unexported fields
}

Task represents a mage task enriched with icon and description that might be multiline.

func Start

func Start(icon, action string) *Task

Start will start a single line task.

func StartMultiline

func StartMultiline(icon, action string) *Task

StartMultiline will start a multi line task.

func (*Task) End

func (t *Task) End(errs ...error)

End will report task completion, either successful or failures.

Jump to

Keyboard shortcuts

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