cmd

package
v0.0.0-...-779573b Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Help

func Help(commands []Command)

Types

type Command

type Command interface {
	GetName() string
	GetDesc() []string
	PrintUsage()
	Run(client *nc.NexusClient, args []string) int // Returns 0 if the Command was successful.
}

func Match

func Match(name string, cmdList []Command) (bool, Command)

Returns true if the specified command exists.

Source Files

  • Command.go

Jump to

Keyboard shortcuts

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