shmink / wack

wack cli tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wack

a CLI tool to help connect your git repo to your ticket management system

the project has been built with some flexibility in mind to extend to different platforms but the default is JIRA and Gitlab

Aims

  • branch name consistency
  • ticket difference between branches
  • current branch info

development plans

  • actions within the ticket management system to automate some processes
  • data analytics integration (create tickets & branches from issues)
  • pipeline release notes
  • slack communication of releases

Getting Started 🚀

Install

dart pub global activate --source=path <path to this package>

Config

the doctor command will prompt you for the config and save it as a .env file in the current project directory

$ wack doctor

a few values will be required from jira & Gitlab to complete the setup process

Usage

# set config for gitlab & jira
$ wack doctor

# current branch ticket info
$ wack current

# get avalible tickets
$ wack tickets -s [status] -p [project_id]

# get jira ticket info
$ wack ticket [ticket_id]

# checkout new branch using ticket id
$ wack checkout [ticket_id]

# get commit ticket difference between branches
$ wack difference -t [target] -s [source]

# get repo releases (tags)
# (still in development)
$ wack releases

# create new app release and push
$ wack app release

# Show usage help
$ wack --help

About

wack cli tool


Languages

Language:Dart 51.4%Language:C++ 23.2%Language:CMake 20.8%Language:HTML 2.0%Language:C 1.6%Language:Swift 0.8%Language:Shell 0.1%