{"issue":{"title":"List command","milestone":null,"user":{"id":5382,"login":"chriseidhof","url":"https://api.github.com/users/chriseidhof","avatar_url":"https://secure.gravatar.com/avatar/ade0c334ecff1448bb96f5f733bf1f83?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ade0c334ecff1448bb96f5f733bf1f83"},"created_at":"2011-12-18T09:26:16Z","labels":[],"state":"open","updated_at":"2011-12-18T12:58:29Z","id":2592708,"html_url":"https://github.com/CocoaPods/CocoaPods/issues/99","pull_request":{"patch_url":"https://github.com/CocoaPods/CocoaPods/pull/99.patch","html_url":"https://github.com/CocoaPods/CocoaPods/pull/99","diff_url":"https://github.com/CocoaPods/CocoaPods/pull/99.diff"},"closed_at":null,"body":"Hey guys,\r\n\r\nWhen I initially installed cocoapods I wanted to know which pods were available. I missed the list command, and wasn't aware that I could do a `pod search \" \"`. So I added a list command that does just that. Maybe it's a bad idea, and I won't feel offended if you think it is. WDYT?","number":99,"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/99","comments":1,"assignee":null},"comment":{"user":{"id":2320,"login":"alloy","url":"https://api.github.com/users/alloy","avatar_url":"https://secure.gravatar.com/avatar/424a9ce662b059c35063b405e160461d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"424a9ce662b059c35063b405e160461d"},"created_at":"2011-12-18T12:58:29Z","updated_at":"2011-12-18T12:58:29Z","id":3194569,"body":"Instead of Source.search, you should be able to use:\r\n\r\n```Ruby\r\nSource.all.each do |source|\r\n  source.pod_sets.each do |set|\r\n    # and print the relevant info\r\n  end\r\nend\r\n```","url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/3194569"},"action":"created"}