env

package
v0.0.0-...-204825d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2023 License: MIT Imports: 6 Imported by: 1

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 CLI

type CLI struct{}

func (CLI) Println

func (c CLI) Println(message string)

func (CLI) Read

func (cli CLI) Read(message string) (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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL