Skip to main content

A tool to open your GitHub repository page quickly.

Project description

A CLI tool to open a front page of owned GitHub repositories quickly.

Installation

$ pip install github_repo_opener

Prerequisition

User has a GitHub access token.

Usage

Once installed the package, you can use github-repo-opener command.

$ github-repo-opener
https://raw.githubusercontent.com/gh640/github_repo_opener/master/assets/capture-01-no-command.gif

Prepare a local database

$ github-repo-opener initdb

This creates a sqlite database file at ~/.cache/github_repo_opener/cache.sqlite3.

Fetch repository data and store them in the local database

$ github-repo-opener fetch

Show repository names

$ github-repo-opener show

Open a repository front page

$ github-repo-opener open
https://raw.githubusercontent.com/gh640/github_repo_opener/master/assets/capture-02-open.gif

Drop the local database

$ github-repo-opener dropdb

This deletes the sqlite database file at ~/.cache/github_repo_opener/cache.sqlite3.

License

Licensed under MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github_repo_opener-0.1.2.tar.gz (4.7 kB view hashes)

Uploaded source

Built Distribution

github_repo_opener-0.1.2-py3-none-any.whl (5.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page