class RuboCop::CLI::Command::Base

def by_command_name(name)

def by_command_name(name)
  @subclasses.detect { |s| s.command_name == name }
end