https://github.com/fsuhrau/goya
command line tool to make the developer life easier
https://github.com/fsuhrau/goya
go golang goya jira
Last synced: 3 months ago
JSON representation
command line tool to make the developer life easier
- Host: GitHub
- URL: https://github.com/fsuhrau/goya
- Owner: fsuhrau
- License: apache-2.0
- Created: 2019-12-23T10:43:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-17T12:59:28.000Z (over 4 years ago)
- Last Synced: 2025-01-10T14:53:22.458Z (5 months ago)
- Topics: go, golang, goya, jira
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# goya
goya is a commandline helper connected to jira to easier handle branches / commits## Requirements
- Go 1.8+
- .goya.yaml in $HOME## Installation
### form source
``` bash
$ go get -u github.com/fsuhrau/goya
```### configuration
create a new configuration in $HOME
## create new config
```
touch $HOME/.goya.yaml
open $HOME/.goya.yaml
```## example config
```
jiraurl: https://my.jira.com
bitbucketurl: https://bitbucket.org/repo/Demo
username: your_username
password: your_password/api_token
clipboard: true # copy commit message to clipboard
ticket: ([a-zA-Z]+-[0-9]+) # regex to identify ticket number of your current branch
types: # mapping of issue type to branch prefix
Bug: bugfix/
Epic: feature/
User Story: feature/
Technical Enhancement: feature/
```## Usage
``` bash
# get informations about ticket and format a branch name to stdout
$ goya branch PROJ-1235# get informations about ticket and formats a commit message to stdout or clipboard (.goya.yaml)
$ goya commit PROJ-1235# try to get ticket from current branch, get informations about ticket and formats a commit message to stdout or clipboard (.goya.yaml)
$ goya commit# open create pr page for the current branch in you default webbrowser
$ goya pr
```