8000 GitHub - olerichter00/cpr: Create pull requests from current changes with just one command.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

olerichter00/cpr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8000
 
 
 
 
 
 
 
 

Repository files navigation




Create Pull Request

A tool to create pull requests from current changes with one command.


Features

  • Creates the branch PREFIX/JIRA_TICKET_NUMBER/your-commit-message.
  • Commits all changes.
  • Creates a pull request.
  • Adds the Jira ticket number and a description to the PR body (using the repository's PR template if it exists).
  • Opens the PR in the browser.

Setup

  • Make sure Deno and GitHub CLI are installed.
  • Adjust constants.ts
  • Run make compile to create a self-contained executable.
  • Copy executable with cp cpr /usr/local/bin/cpr

Usage

Usage:
  $ cpr <PR TITLE> [options]

Options:
  -t, --ticket <ticket>            Provide a ticket number or url
  -d, --description <description>  Provide a PR description
  -h, --help                       Display this message

Example

cpr feature: my new cool feature -t CX-1234 -d "My PR Descryption"

which will create the following PR:

Development

  • make run: executes index.ts
  • make test: runs tests
  • make format: formats all files
  • make debug: runs the debugger starting in index.ts
  • make bundle: bundles into a single file build/index
  • make compile: compiles to executable

About

Create pull requests from current changes with just one command.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0