Giter Club home page Giter Club logo

github-hotline's Introduction

github-hotline Build Status npm

Simple command line utility for commenting on pull requests

Getting Started

npm install -g github-hotline

Commands

issue-comment

Usage

USAGE: issue-comment [--once] USER/REPO#NUMBER COMMENT...
       issue-comment [--once] -u USER -r REPO -n NUMBER COMMENT...

  Issue a comment on a pull request.

  USER        github user name
  REPO        github repository name
  NUMBER      pull request number
  COMMENT     comment to leave

  Options:

  --once      create this comment if it does not already exist

Example:

  issue-comment blamattina/github-hotline#3400 This works great!

Example

# Create a comment on an issue
$ export GITHUB_USERNAME=username
$ export GITHUB_PASSWORD=personal-access-token
$ issue-comment blamattina/github-hotline#13 Looks good :zap:
Comment Created.
# Create a comment on an issue if one with the same body does not exist
$ issue-comment --once blamattina/github-hotline#1 Looks good
Comment created.
$ issue-comment --once blamattina/github-hotline#1 Looks good
Not created. A comment with this message already exists.

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.