cli

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: MIT Imports: 13 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 {
	Session *session.Session
	Player  *player.Player

	CurrCommand string
	// contains filtered or unexported fields
}

func New

func New(session *session.Session, player *player.Player) *Cli

func (*Cli) Run

func (c *Cli) Run()

Runs the urfave after commands have been set up, printing any errors to stdout.

func (*Cli) SetUp

func (c *Cli) SetUp(config *config.Config) error

Jump to

Keyboard shortcuts

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