Skip to content
Issues Command Line
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
cache.go
configuration.go
github.go
issues.go
screenshot.png
terminal.go
utils.go

README.md

Issues Command Line

This small utility helps you for query and follow repositories issues. The goal is following public repositories, so you do not need permission or an access token. Probably, I will add private repositories support, but now I only want to manage my favorite open source repositories.

Screenshot

Requirements

How to install

$ go get github.com/klassmann/issues
$ go install github.com/klassmann/issues

Usage

add	Adds a new query to your local configuration. You need to give a name to the query:
        $ issues add [query-name] [query parameters]
        $ issues add golang repo:golang/go is:open memory

delete	Deletes a query from your local configuration.
        $ issues delete [query-name]
        $ issues delete golang

list	Query issues from a [query-name] saved in local configuration:
        $ issues list [query-name]

query	Queries and shows a new search on github:
        $ issues query [query-parameters]
        $ issues query repo:golang/go is:open memory

queries	Show the list of queries in your configuration.
        $ issues queries

help	Shows this help message.

Configuration

Create a .issuesrc in your home directory. The file will be created automatically on first use.

{
    "queries": 
    {
        "sarama": "repo:shopify/sarama is:open",
        "golang": "repo:golang/go is:open",
        "django": "repo:django/django is:open"
    }
}

Note: Each query should have a name and a GitHub issue search string, see more here.

Here you have an example with the cache option for saving results for 5 minutes:

    {
        "queries": 
        {
            "sarama": "repo:shopify/sarama is:open",
            "golang": "repo:golang/go is:open",
            "django": "repo:django/django is:open"
        }
        "cache":"5m"
    }

Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Or you can use "nocache" when you don't want to cache anything.

Features

  • Query issues from Github
  • Add, Delete and List queries from local configuration
  • Colorful output
  • Cache last query responses
  • Github response pagination (Today the number is limited by default from github to 100 items)
  • Get more issue details
  • Unit tests

Notes

License

Apache 2.0

You can’t perform that action at this time.