CocoaPods sorted search
CocoaPods plugin which adds a sort
subcommand for pod search
to sort search results by amount of stars, forks, or github activity.
Usage
pod search sort POD_NAME
Params
- --stars - sort by stars - default
- --forks - sort by forks
- --activity - sort by most recent commits
Installation
[sudo] gem install cocoapods-sorted-search
Setting up github token
- Go to GitHub settings -> Applications -> Personal Access Tokens
- Generate new one and uncheck all scopes. It should look like this.
- Run
pod setup github --token=MyToken
Your token will be stored in OS X Keychain and used automatically for fetching GitHub info for repositories.
Original sort parameters
Original sort parameters are supported too! So if you want to go crazy, and search for all Ruby stuff, that exists on iOS, you can do stuff like this:
pod search --ios --full sort Ruby
Example
Requirements
- CocoaPods 0.36 and higher
- Ruby 1.9.3 and higher
Troubleshooting
First of, read troubleshooting wiki page. If something still not right, post issue on GitHub to let me know!