Giter Club home page Giter Club logo

wtf's Introduction

wtf

A simple little tool that integrates github commit and PR comment threads into your dev loop via an easy to use CLI.

Usage

If you do not set an environmental variable called GITHUB_ACCESS_TOKEN to your github api access token See here, then you will be making unauthenticated Github API requests. This means you will only be able to make 60 requests per hour, and you will only be able to access comments in public repositories.

List comment threads for a file

To view a list of all of the github threads for a file in your git repo then type: wtf ls $filepath

For example: wtf ls src/main/scala/main.scala w Example output

Here is a link to the actual comment thread in github as an example.

Development

go build

go install

go test ./...

TODO

  • Allow for relative filepath as well (SEE TODO)
  • If user inserts a filepath that does not exist return error message / code
  • Parse repo and owner name from git remove -v (SEE TODO)
  • Implement pagination (SEE TODO)
  • Improve the UI and usability more.

wtf's People

Watchers

James Cloos avatar Harry Hull avatar

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.