Skip to content

Create new issues on command line - requires factotum from Plan9/Plan9Port

Notifications You must be signed in to change notification settings

halfwit/ghissue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ghissue - simple utility to create issues on Github

go install https://github.com/halfwit/ghissue

Usage

This uses Plan9's factotum to fetch the oauth2 key (you have to get and store this yourself). PRs to modify this behavior are welcome. For use on Linux/Unix, see the plan9port project for details on setting up your factotum.

<cmd> | ghissue [-b branch] -t <issue title> <repo name>

ghissue will read from stdin to create issues on Github.com. is a shortened version of the github.com URL, using just someuser/example instead of https://github.com/someuser/example. -b is used to optionally select the branch, which defaults to master.

The output from a successful command will be the URL to the issue.

Example

// TODO halfwit: test test
// test test test test
// test test test test

Select this range of text with your favorite editor, and pipe it through ghissue:

<cmd> | ghissue -t 'testing ghissue' halfwit/ghissue

About

Create new issues on command line - requires factotum from Plan9/Plan9Port

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages