Documentation ¶
Index ¶
Constants ¶
View Source
const ExitCodeExitError = 990
ExitCodeExitError of executed cmd could not be determined.
View Source
const ExitSuccessError = 991
ExitSuccessError ExitCode of successfully executed cmd could not be determined.
View Source
const ExtCodeError = 993
ExtCodeError general error occurred when executing cmd.
Variables ¶
This section is empty.
Functions ¶
func ExecuteDroxyCommand ¶ added in v0.5.1
Types ¶
type CommandBuilder ¶
type CommandBuilder interface {
BuildCommandFromConfig(commandDef config.CommandDefinition) (*exec.Cmd, error)
}
Builder builds a executable command object.
type CommandResultHandler ¶
CommandResultHandler handles the result of an executed command.
type CommandRunner ¶
CommandRunner runs a command.
type ConfigLoader ¶
type ConfigLoader interface {
Load() config.Configuration
}
ConfigLoader loads configuration.
type ExecutableNameParser ¶
type ExecutableNameParser interface {
ParseCommandNameFromCommandLine() string
}
ExecutableNameParser parsed the name of the current executed file from cli arguments.
Click to show internal directories.
Click to hide internal directories.