Documentation
¶
Index ¶
- Variables
- func CommandCatch(cfg *Config) error
- func CommandExit(cfg *Config) error
- func CommandExplore(cfg *Config) error
- func CommandHelp(cfg *Config) error
- func CommandInspect(cfg *Config) error
- func CommandMap(cfg *Config) error
- func CommandMapBack(cfg *Config) error
- func CommandPokedex(cfg *Config) error
- func ExecuteCommand(cmdName string, cfg *Config, args []string) error
- func Initialize()
- type Command
- type CommandFunc
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands map[string]Command
Functions ¶
func CommandCatch ¶
func CommandExit ¶
func CommandExplore ¶
func CommandHelp ¶
func CommandInspect ¶
func CommandMap ¶
func CommandMapBack ¶
func CommandPokedex ¶
func Initialize ¶
func Initialize()
Types ¶
type Command ¶
type Command struct {
Exec CommandFunc
Description string
}
type CommandFunc ¶
Click to show internal directories.
Click to hide internal directories.