Coder Social home page Coder Social logo

ghdone's Introduction

ghdone

Find out what you've done recently on github.

Fetch high-level detail about PRs for a given user.

installation

Clone, and pip install:

$ git clone https://github.com/ryantuck/ghdone.git ~/src/ghdone
$ pip install -e ~/src/ghdone

Create a personal access token for github and set some ENV vars:

$ export GITHUB_USERNAME="ryantuck"
$ export GITHUB_TOKEN="abcd12345"

usage

$ ghdone --help
Usage: ghdone [OPTIONS] USERNAME

Options:
  -r, --repo TEXT     Repo of interest. Repeat flag for multiple repos.
  --since TEXT        Pull from given date. Defaults to seven days ago.
  --output [json|md]  Output as json or as markdown list with links.
  --help              Show this message and exit.

sample outputs

$ ghdone ryantuck --repo "ryantuck/ghdone"
ryantuck/ghdone 1 ryantuck 2018-07-31 open   add output samples to readme
$ ghdone ryantuck --repo "ryantuck/ghdone" --output json
[{'created': '2018-07-31',
  'num': 1,
  'repo': 'ryantuck/ghdone',
  'status': 'open',
  'title': 'add output samples to readme',
  'url': 'https://api.github.com/repos/ryantuck/ghdone/pulls/1',
  'user': 'ryantuck'}]
$ ghdone ryantuck --repo "ryantuck/ghdone" --output md
- [ryantuck/ghdone #1 add output samples to readme](https://api.github.com/repos/ryantuck/ghdone/pulls/1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.