input

package
v0.0.0-...-0cbbf0d Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	// contains filtered or unexported fields
}

CLI reads user input, tokenizes it, and dispatches the tokens to their respective commands.

func NewCLI

func NewCLI(api api.API) *CLI

func (*CLI) Exec

func (i *CLI) Exec(line string) error

Exec is the new Execute.

func (*CLI) Execute

func (i *CLI) Execute(line string) error

Execute sends scanned tokens to Command instances. FIXME: this function is deprecated and must be remove when all Command classes have been ported.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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