Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractCommand ¶
type AbstractCommand struct { Accessor string Environment *Environment Execute func(input string) error }
type Environment ¶
type Environment struct {
// contains filtered or unexported fields
}
func NewEnvironment ¶
func NewEnvironment(console core.Console) *Environment
func (*Environment) GetCwd ¶
func (env *Environment) GetCwd() *core.Directory
func (*Environment) LoadGoCommands ¶
func (env *Environment) LoadGoCommands() error
func (*Environment) Run ¶
func (env *Environment) Run()
func (*Environment) SetCwd ¶
func (env *Environment) SetCwd(dir *core.Directory)
Click to show internal directories.
Click to hide internal directories.