canceled

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelCommand

func CancelCommand(s string) error

CancelCommand creates a 'cancelled command' error so the system can end the program with exit code 0 when a user cancels a command on the CLI prompt

func Skip added in v1.2.6

func Skip() error

Skip creates a 'quietly cancelled command'

Types

type Command added in v1.0.18

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

Command skipped / canceled by the user

func (Command) Error added in v1.0.18

func (cc Command) Error() string

func (Command) Quiet added in v1.2.6

func (cc Command) Quiet() bool

Quiet tells whether the error message should be print on termination

Jump to

Keyboard shortcuts

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