getCommand

fun <T : CommandData> getCommand(index: Int): Command<T>

Helper to simplify getting an indexed command.

Return

The Command at the requested index

Parameters

index

the position of the item in the commands.