The CLI for
developer workflows
A lightweight Go CLI for working with GitHub from the terminal. Repos, issues, pull requests, and more.
$ kit auth login github
Authenticated as bniladridas
$ kit github repo list
kit Go CLI tool
homebrew-kit Homebrew tap
portfolio Personal site
$ kit github pr create --title "Fix login"
Created pull request #42
Features
Focused on the workflows that matter. Fast startup, minimal dependencies, structured output for scripting.
- GitHub Auth OAuth device flow or personal access tokens. Secure, browser-based authentication with one command.
- Repo & PR Management List, clone, create issues, manage pull requests. All from the terminal.
- Auto Context Detects the current Git repo owner, name, and branch automatically.
- Shell Completion Tab completion for Bash, Zsh, and Fish.
- Structured Output JSON output for every command. Scripting, piping, and tool integration built in.
- Built in Go Single binary. No runtime. Cross-compiled for Linux, macOS, and Windows.
Installation
Choose the method that works best for you.
-
Homebrew Recommended
brew tap bniladridas/kit
brew install bniladridas/kit/kit -
Install Script
curl -fsSL https://raw.githubusercontent.com/bniladridas/kit/main/scripts/install.sh | sh -
Go
go install github.com/bniladridas/kit/cmd/kit@latest - Manual GitHub Releases
Commands
Each command does one thing well. Discoverable, consistent, and scriptable.
Authentication
- kit auth login githubAuthenticate via OAuth device flow
- kit auth statusShow authentication status
GitHub
- kit github repo listList your repositories
- kit github repo clone owner/repoClone a repository
- kit github issue listList issues in the current repo
- kit github issue create --title "Bug"Create a new issue
- kit github pr listList pull requests
- kit github pr create --title "Fix"Create a new pull request
- kit github pr checkout 123Checkout a PR branch
System
- kit contextShow repo owner, name, branch, and remote
- kit doctorCheck config, auth, git, and connectivity
- kit versionPrint version information