register
Registers a command with its name and optional aliases.
Parameters
name
The primary name of the command.
command
The instance of the command to register.
aliases
Optional alias names for the command.
Throws
If attempting to register commands after commands have already been registered.
If a command with the same name or alias already exists.