GoKid is an opinionated CLI for managing code changes as one unit. It remove the boilerplate work from creating branches and pull requests.
- Install the GitHub CLI
brew install gh && gh auth login- Install
gokid:
brew update && brew install martinbernstorff/homebrew-tap/gkor by cloning the repository, and:
cd gokid && go install .To create your first change (branch + PR):
gokid new "my new PR"or, using aliases:
gk n "my new PR"Gokid assumes you name your changes before you start working on them, so:
gokid new "name of change- Branch and PR are created
- Work on change
gokid merge, or review/merge through GitHub
Write the default config to the current directory:
gk initGokid looks for configuration files (by priority):
- In the current directory
- Any parent directory
~/.config/gokid/.gokid
It uses the values from the first config it encounters.
To get an overview of commands:
gk --help- p3: Go through the tdd-course and apply lessons?
- p3: Rename to warpgate?
- p2: Add "gokid list", which shows all PRs for current repository
- p2: Add "gokid close", which closes a PR without merging it