ttb
v0.0.4
Published
A CLI tool to create a new branch from a ticket number in your project management tool.
Downloads
2
Readme
ttb
A CLI tool to create a new branch from a ticket number in your project management tool.
Requirements
Usage
Installation
npm i -g ttb
Setup
ttb init
ttb add
Branching
Go to your project directory and run
ttb branch <ticket-number>
Commands
init
- create a config file in your user directory.add
- add a new credential. (Will be set to active if no other credentials exist)remove
- remove a credential.use
- set a credential to active. (This will be the credential used for thebranch
command)branch <ticket-number>
- create a new branch.
Current Support
- Github
Future
Jira support is soon in progress. The goal is to be able to create a branch from a ticket number. The branch name will be the ticket number and the title of the ticket. The ticket number will be prepended with the ticket type. For example, feature/ttb-1234-this-is-the-title-of-the-ticket
.
Development
pnpm i
pnpm run build
pnpm run start <command>
Notes
- note that options are not working properly when running
pnpm run start