package
0.35.3
Repository: https://github.com/jetsetilly/gopher2600.git
Documentation: pkg.go.dev

# Functions

AddHelp() adds the HELP command to the list of commands if it hasn't been added already (or was part of the template given to the ParseCommandTemplate() function) It is up to the user of the commandline package to do something with the HELP command.
HelpSummary returns a string showing the top-level HELP topics in five columns.
NewTabCompletion initialises a new TabCompletion instance.
ParseCommandTemplate turns a string representation of a command template into a machine friendly representation Syntax [ a ] required keyword ( a ) optional keyword [ a | b | ..
TokeniseInput creates and returns a new Tokens instance.

# Constants

The command that should be used to invoke the HELP system.

# Structs

Commands is the root of the node tree.
TabCompletion should be initialised once with the instance of Commands it is to work with.
Tokens represents tokenised input.

# Interfaces

A commandline Extension provides an instance of Commands such that it can be used to extend the number of parameters available to a command, mainly for tab-completion purposes.