Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commander ¶
type Commander interface { IsResponsible(commandName string) bool Execute(e *devenv.EnvironmentConfiguration, executeScriptDirectory, repository string, args []string) error }
Commander represents a unit of work for rhe shell
type Interpreter ¶
type Interpreter struct { ExecuteScriptDirectory string EnvConfiguration devenv.EnvironmentConfiguration }
Interpreter contains data for where and what to do
func NewInterpreter ¶
func NewInterpreter(path string, ev devenv.EnvironmentConfiguration) *Interpreter
NewInterpreter returns a new interpreter
func (*Interpreter) Execute ¶
func (i *Interpreter) Execute(commandline string) error
Execute takes a line entered by the user and calls the command
Source Files ¶
Click to show internal directories.
Click to hide internal directories.