Skip to content
/ goya Public

command line tool to make the developer life easier

License

Notifications You must be signed in to change notification settings

fsuhrau/goya

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

$ 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

# 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 

About

command line tool to make the developer life easier

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages