This could be a little shorter with `Enumberable#any?`

    all.delete_if do |cmd, desc|
      reqs[cmd].any? { |req| not client.commands.include?(req) }
    end