A CLI for searching GitHub repos, formatted for Alfred.
Supports the following commands:
-
Cache GitHub repos: stores repo data in a CSV file in the current directory
$ gitfred cache
-
Search GitHub repos: returns all repos matching the given query in Alfred's XML format.
$ gitfred search foobar
-
Increment repo visits: used to sort boards by frequency of visits
gitfred increment https://github.com/repo_owner/repo
Gitfred expects your GitHub OAuth token to be exposed in a .env
file in the current directory. The file should have the following structure:
GITHUB_OAUTH_TOKEN=your-token
Gitfred is Copyright © 2016 Josh Steiner. It is free software, and may be redistributed under the terms specified in the LICENSE file.