class Rouge::CLI::List

def run

def run
  puts "== Available Lexers =="
  Lexer.all.sort_by(&:tag).each do |lexer|
    desc = String.new("#{lexer.desc}")
    if lexer.aliases.any?
      desc << " [aliases: #{lexer.aliases.join(',')}]"
    end
    puts "%s: %s" % [lexer.tag, desc]
    lexer.option_docs.keys.sort.each do |option|
      puts "  ?#{option}= #{lexer.option_docs[option]}"
    end
    puts
  end
end