List command #99

Merged
merged 2 commits into from Feb 1, 2012

Projects

None yet

3 participants

@chriseidhof

Hey guys,

When 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?

@alloy
CocoaPods member

Instead of Source.search, you should be able to use:

Source.all.each do |source|
  source.pod_sets.each do |set|
    # and print the relevant info
  end
end
@chriseidhof

Yes, you're right. The behavior changes a little bit though: if you have two source repos with identical pods they will be printed twice.

@alloy
CocoaPods member

True, but for now let’s leave that be until someone reports a problem and we’ll deal with it accordingly then.

@yas375

I also think that list command needed.

@yas375

btw, do you have plans on creating something like https://www.ruby-toolbox.com/ but for objective-c libs?

@alloy alloy merged commit b85b9bd into CocoaPods:master Feb 1, 2012
@alloy
CocoaPods member

Damn, not sure why this wasn’t merged yet. Sorry about that, due to personal reasons I am a bit out of the loop…

@chriseidhof You now have push access to this repo, feel free to work on stuff :)

@yas375 Please keep it silent for now, but the final touches are being made to a first launch of http://cocoapods.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment