/github-cli

A CLI tool to help me manage too many repositories

Primary LanguageGoApache License 2.0Apache-2.0

Github CLI

A simple tool to help me manages too many Github repositories.

Prepare

  1. Create a .github-cli directory in your home directory.

    mkdir -p ~/.github-cli
  2. Create a configuration in ~/.github-cli/config.toml, see example here.

Usage

Trending

github-cli trending
# Trending go language
github-cli trending go
# Trending go language in this week
github-cli trending go --time weekly

Pull

github-cli pulls
# List pull requests of repositories configured in tikv organization
github-cli pulls --owner tikv
# List pull requests of tikv repository in tikv organization 
github-cli pulls tikv
# or use github-cli pulls tikv/tikv
# See one pull request
github-cli pull tikv 3344

Issue

github-cli issues
# List issues of repositories configured in tikv organization 
github-cli issues --owner tikv
# List issues of tikv repository in tikv organization 
github-cli issues tikv
# or use github-cli issues tikv/tikv
# See one issue 
github-cli issue tikv 3355

Event

# List events for the account in the configuration file
github-cli events 
# List events for a specified user
github-cli events siddontang