cli

package
v0.0.0-...-36ae0f7 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandCatch

func CommandCatch(client *pokemon.Client, input string) error

func CommandExit

func CommandExit(client *pokemon.Client, input string) error

func CommandExplore

func CommandExplore(client *pokemon.Client, input string) error

func CommandHelp

func CommandHelp(client *pokemon.Client, input string) error

func CommandInspect

func CommandInspect(client *pokemon.Client, input string) error

func CommandMap

func CommandMap(client *pokemon.Client, input string) error

func CommandMapb

func CommandMapb(client *pokemon.Client, input string) error

func CommandPokedex

func CommandPokedex(client *pokemon.Client, input string) error

func GetCommands

func GetCommands() map[string]Command

Types

type Command

type Command struct {
	Name        string
	Description string
	Callback    func(client *pokemon.Client, input string) error
}

Jump to

Keyboard shortcuts

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