public static Class < ? extends Command < ? extends CLIContext > > getCommandClass ( CLIContext context , String commandName ) { return context . getHostApplication ( ) . getCommands ( ) . get ( commandName . toLowerCase ( ) ) ; }
Get a command by name .