Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.15 KB

README.md

File metadata and controls

49 lines (38 loc) · 1.15 KB

gcpout-cli

In case of fire 🔥

user:~$ git commit
user:~$ git push
user:~$ git out

Inspired by a nerd joke, I created this tool to allow us developers to open our PRs more easily, without leaving our terminals, opening Jira tickets on the WEB, writing title, descriptions, filling in the checklist boxes. Now, you can do all this in your terminal.

Getting started

user:~$ git clone <this-repo>
user:~$ cd this-repo
user:~$ go install
user:~$ gcpout-cli

Running Commands

Init

This command is mandatory for configuring the Jira Server host.

user:~$ gcpout-cli init

OpenPr

This command allows you to:

  • Select the project;
  • Select the source and target branches;
  • Inform the Jira Ticket;
  • Inform the type of change (feature, bug, chore, etc.);
  • Answer the checklist questions.

Based on that, this command will open the PR for you with a full description based on your answers.

user:~$ gcpout-cli openPr

Help

All commands have a help flag -h to get details about how to run the command.

Running the commands without install it as a Go package

user:~$ go run main.go <command>