Created
July 13, 2016 23:14
-
-
Save outlyer/16ace98fc65b6add20e631b00c9f691c to your computer and use it in GitHub Desktop.
Go to the homepage of a Cocoapod based on the title
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Requires [jq](https://stedolan.github.io/jq/) and support for the `open` command (Mac and Linux AFAIK) | |
# | |
page=$(pod spec cat $1 | jq .homepage | sed -e 's/\"//g') | |
open $page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment