https://github.com/sawadashota/gh-issue
Create GitHub issues from YAML
https://github.com/sawadashota/gh-issue
github golang issue-management
Last synced: 3 months ago
JSON representation
Create GitHub issues from YAML
- Host: GitHub
- URL: https://github.com/sawadashota/gh-issue
- Owner: sawadashota
- License: mit
- Created: 2018-03-15T15:23:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-01T04:11:00.000Z (over 7 years ago)
- Last Synced: 2025-02-27T07:06:20.054Z (over 1 year ago)
- Topics: github, golang, issue-management
- Language: Go
- Homepage:
- Size: 88.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gh-issue
===
Create GitHub issues from YAML.
Required
---
* [envchain](https://github.com/sorah/envchain)
Usage
---
### Set GitHub token
```bash
$ gh-issue set -t [GitHub token]
```
Then, you will be required type password for access keychain.
### Create Issues
```bash
$ gh-issue
```
For example like this.
```yml
meta:
repo: sawadashota/gh-issue
issues:
- title: issue title 1
assignee: sawadashota
body: |-
Example title
===
Example body
* Example list
labels:
- enhancement
- bug
- title: issue title 2
```
Saved and quit editor, then start creating issues on GitHub!
### Edit config
```bash
$ gh-issue edit
```
```toml
editor = "vim"
template = """# template
meta:
repo: ${CURRENT_PROJECT}
issues:
- title: issue title 1
assignee: assignee
body: ""
labels:
- enhancement"""
```
Installation
---
```bash
brew tap sawadashota/homebrew-cheers
brew install gh-issue
```
or
```bash
go get -u github.com/sawadashota/gh-issue
```
License
---
MIT
Author
---
Shota Sawada