package
0.10.3
Repository: https://github.com/df-mc/dragonfly.git
Documentation: pkg.go.dev

# Functions

ByAlias looks up a command by an alias.
Commands returns a map of all registered commands indexed by the alias they were registered with.
New returns a new Command using the name and description passed.
Register registers a command with its name and all aliases that it has.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Command is a wrapper around a Runnable.
Line represents a command line holding command arguments that were passed upon the execution of the command.
Optional is an argument type that may be used to make any of the available parameter types optional.
Output holds the output of a command execution.
ParamInfo holds the information of a parameter in a Runnable.
SubCommand represents a subcommand that may be added as a static value that must be written.

# Interfaces

Allower may be implemented by a type also implementing Runnable to limit the sources that may run the command.
Enum is an interface for enum-type parameters.
NamedTarget is a Target that has a name.
Parameter is an interface for a generic parameters.
Runnable represents a Command that may be run by a Command source.
Source represents a source of a command execution.
Target represents the target of a command.

# Type aliases

Varargs is an argument type that may be used to capture all arguments that follow.