Documentation
¶
Overview ¶
package commands provides the interfaces and structures to trigger and run shell commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrArgCount = errors.New("wrong count of args provided") ErrArgValue = errors.New("provided argument value invalid") )
Errors produced by this file.
View Source
var ErrDisabled = errors.New("the command is disabled due to an error")
View Source
var (
ErrNoCmd = errors.New("cmd provided without a command configured; fix it")
)
Errors produced by this file.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
// contains filtered or unexported fields
}
Action contains the exported methods for this package.
type Command ¶
Command contains the input data for a defined command. It also contains some saved data about the command being run.
func (*Command) SetupRegexpArgs ¶ added in v0.4.1
Click to show internal directories.
Click to hide internal directories.