addCommand abstract method Null safety
- ICommandRegisterable<
T> command
Add a command to this group.
A command can be added to a group at most once; trying to do so will result in a CommandsError being thrown.
Implementation
void addCommand(ICommandRegisterable<T> command);