Skip to content

An interactive GitHub CLI featuring auto-complete.

License

Notifications You must be signed in to change notification settings

c-bata/gh-prompt

Repository files navigation

gh-prompt

Software License GoDoc

An interactive GitHub CLI featuring auto-complete. This tool provides powerful completion to GitHub's official CLI.

GIF animation

You can walk through issues, create pull requests, checkout pull requests locally, and more. See https://cli.github.com/ for details.

Installation

Homebrew (for macOS users)

$ brew install c-bata/gh-prompt/gh-prompt

Downloading standalone binary

Binaries are available from github release.

macOS (darwin) - amd64
wget https://github.com/c-bata/gh-prompt/releases/download/v0.0.1/gh-prompt_darwin_x86_64.zip
unzip gh-prompt_darwin_x86_64.zip
chmod +x gh-prompt
sudo mv ./gh-prompt /usr/local/bin/gh-prompt
Linux - amd64
wget https://github.com/c-bata/gh-prompt/releases/download/v0.0.1/gh-prompt_linux_x86_64.zip
unzip gh-prompt_linux_x86_64.zip
chmod +x gh-prompt
sudo mv ./gh-prompt /usr/local/bin/gh-prompt
Linux - i386
wget https://github.com/c-bata/gh-prompt/releases/download/v0.0.1/gh-prompt_linux_i386.zip
unzip gh-prompt_linux_i386.zip
chmod +x gh-prompt
sudo mv ./gh-prompt /usr/local/bin/gh-prompt

Building from source

$ git clone git@github.com:c-bata/gh-prompt.git
$ cd gh-prompt
$ make build

You can create multi-platform binaries via goreleaser:

$ goreleaser --snapshot --skip-publish --rm-dist

LICENSE

This software is licensed under the MIT License (See LICENSE).