A node library to interact with the GitHub issues API
const ghissues =authOptions = user: 'rvagg' token: '24d5dee258c64aef38a66c0c5eca459c379901c2'// list all issues in a repoghissues// get issue data by number (not internal GitHub id)ghissues// create an issuevar data =title : 'New issue bro'body : 'Pretty **slick** `markdown`'ghissues// list all comments in an issueghissues// create a commentvar body = 'Whoa dude, this is awesomesauce!! :+1:'ghissues
The auth data is compatible with ghauth so you can just connect them together to make a simple command-line application:
const ghauth =ghissues =authOptions =configName : 'issue-lister'scopes : 'user'
ghissues is Copyright (c) 2014 Rod Vagg @rvagg and licensed under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.