Documentation ¶
Index ¶
Constants ¶
View Source
const Description = `Mix multiple commands stream and interruptions`
Description ...
Variables ¶
View Source
var AppEnd = Message{Output: -1}
AppEnd ...
View Source
var FlagCommand = cli.StringSliceFlag{
Name: "cmd",
Usage: "commands to be mixed",
}
FlagCommand can accept commands to be mixed in one-line
View Source
var FlagFile = cli.StringFlag{
Name: "f",
Usage: "commads from a config file",
}
Functions ¶
Types ¶
type Command ¶
type Command struct { Color *color.Color Index int Prefix string RawInput string *exec.Cmd // contains filtered or unexported fields }
Command ...
func (*Command) Introduction ¶
Introduction prints raw input with underline.
type ConfigV1 ¶
type ErrorInterrupted ¶
type ErrorInterrupted struct {
CommandErrors []error
}
ErrorInterrupted ...
func (ErrorInterrupted) Add ¶
func (e ErrorInterrupted) Add(bin string, err error)
Add command specific errors.
func (ErrorInterrupted) Error ¶
func (e ErrorInterrupted) Error() string
Error to satisfy error interface.
Click to show internal directories.
Click to hide internal directories.