Interactive CLI helper for creating git branches with JIRA Links and some text

Overview

codecov Build & Test

bb (better-branch)

Interactive CLI helper for creating git branches with JIRA Links and some text

Still in development?

Yes

How it works?

asciicast This tiny utility was made when i completely bored of creating JIRA branches on Web interface and pulling it to local.

Just call bb, then Enter JIRA link and/or text, then create a new branch from.

There are multiple ways to create branch name with Jira and/or text description.

Interactive

Just launch without any args. When asked for values, enter them. If name is beautiful for you, create a new branch.

Pass arguments

  -f feature
        Create `feature/*` branch
  -h hotfix
        Create `hotfix/*` branch
  -c true
    	Checkout to new branch (default true (default true)
  -i string
    	JIRA Link or issue
  -t string
    	Custom Issue Text

Arguments could be passed with keywords or shorthand.

./main -f -i https://some.jira.cloud/issues/ABC-123 -t Add big button

# or
./main f https://some.jira.cloud/issues/ABC-123  Add big button

# or even
./main https://some.jira.cloud/issues/ABC-123

New branch is checkouted after creation by default.

OS support

Builds are made for Windows, OSX and Linux by Goreleaser. But code wasn't tested on Linux and Windows.

TODO:

  • Go back, add more text, and other interactive mode impovements
  • Set autocheckout true/false with interactive mode
  • Support prefixes like feature/
  • Support other popular issue trackers like YouTrack, Asana, etc
  • Save screen space in interactive mode by putting hints onto background
You might also like...
A command line http test tool. Maintain the case via git and pure text
A command line http test tool. Maintain the case via git and pure text

httptest A command line http test tool Maintain the api test cases via git and pure text We want to test the APIs via http requests and assert the res

git-glimpse is a command-line tool that is aimed at generating a git prompt like the one from zsh-vcs-prompt.

Git GoGlimpse git-glimpse is a command-line tool that is aimed at generating a git prompt like the one from zsh-vcs-prompt. The particularity of this

Chalk is a Go Package which can be used for making terminal output more vibrant with text colors, text styles and background colors.
Chalk is a Go Package which can be used for making terminal output more vibrant with text colors, text styles and background colors.

Chalk Chalk is a Go Package which can be used for making terminal output more vibrant with text colors, text styles and background colors. Documentati

A youtube library for retrieving metadata, and obtaining direct links to video-only/audio-only/mixed versions of videos on YouTube in Go.

A youtube library for retrieving metadata, and obtaining direct links to video-only/audio-only/mixed versions of videos on YouTube in Go. Install go g

Donald Knuth's Algorithm 7.2.2.1M for covering with multiplicities and colors via dancing links

Covering with multiplicities and colors via Dancing Links Go implementation of Donald Knuth's Algorithm 7.2.2.1M for covering with multiplicities and

Fetch All Links And Compare From Prior Fetches For golang

Fetch All Links And Compare From Prior Fetches This program can be run with go r

Build an interactive CLI application with Go, Cobra and promptui. Video tutorial available on the Div Rhino YouTube channel.

Build an interactive CLI app with Go, Cobra and promptui Text tutorial: https://divrhino.com/articles/build-interactive-cli-app-with-go-cobra-promptui

Abacus is a simple interactive calculator CLI

Abacus is a simple interactive calculator CLI with support for variables, comparison checks, and math functions abacus -

Releases(v0.2.1)
Owner
Eugene Uvarov
Eugene Uvarov
Helper tool to create and assign fix versions in Jira

Jira Helper Helper tool to interact with Jira from CI/CD scripts. Its main purpose is to create and assign version based on GitHub releases to Jira ti

Marcel Blijleven 3 Oct 22, 2022
🔥 [WIP] Interactive Jira Command Line

JiraCLI Interactive Jira CLI ?? This project is still a work in progress ?? This tool mostly focuses on issue search and navigation at the moment. How

Ankit Pokhrel 2.3k Jan 4, 2023
Github-org-diff - Simple CLI tool to check a diff between 2 branches of all org repos

github-org-diff Simple CLI tool to list org repos that have diff between dev and

Alex Pliutau 1 Jan 25, 2022
jt is a CLI tool for viewing and manipulating JIRA issues.

jt - jira-tool jt is a CLI tool for viewing and manipulating JIRA issues. One common example usage to transition an issue to a new status: jt "In Prog

Steve Coffman 14 Aug 9, 2022
A tiny cli command/daemon for syncing toggl time entries with Jira

toggl-sync A tiny cli command/daemon for syncing toggl time entries with Jira Installation Install the app via brew package manager. brew tap timemate

TimeMate 2 Nov 30, 2021
🧹 Safely clean up your local branches

gh poi A gh extension for deleting merged local branches. This extension checks the state of remote pull requests, so it works even when you "Squash a

Seito Tanaka 188 Dec 29, 2022
A CLI to replace your git commit command, so your git message can partially follow the Conventional Changelog ecosystem

COMMIT CLI A CLI to replace your git commit command, so your git message can partially follow the Conventional Changelog ecosystem. And yes, it is bui

Hisam Fahri 1 Feb 9, 2022
The missing git branch --interactive

git branch-i I got cross that there's no git branch --interactive, so I made this. It's a very (very) simple curses-mode git branch/git checkout alter

Joel Auterson 4 Nov 2, 2022
Submit timesheets to Jira from the command line

JiraTime jiratime makes it easy to submit worklog records to Jira quickly from the command line. It accepts timesheets on standard input so works well

Scott Leggett 10 Dec 5, 2022
textnote is a command line tool for quickly creating and managing daily plain text notes.

textnote is a command line tool for quickly creating and managing daily plain text notes. It is designed for ease of use to encourage the practice of daily, organized note taking. textnote intentionally facilitates only the management (creation, opening, organizing, and consolidated archiving) of notes, following the philosophy that notes are best written in a text editor and not via a CLI.

Daniel Kaslovsky 162 Jan 2, 2023