Coder Social home page Coder Social logo

ghissues's Introduction

GHIssues

Scripts to view and create Github issues from the CLI

Commands

ghissues-new

usage: ghissues-new [-h] [--user USER] [--token TOKEN] [--repo REPO] [-t TITLE] [-m MESSAGE] [--pwd]

options:
  -h, --help                     show this help message and exit
  --user USER                    owner of the git repo (environment variable = GITHUB_USERNAME)
  --token TOKEN                  Github token used to authenticate with the Github REST API (environment variable = GITHUB_TOKEN)
  --repo REPO                    repo name (environment variable = GITHUB_DEFAULT_REPO)
  -t TITLE, --title TITLE        issue title
  -m MESSAGE, --message MESSAGE  issue message (if not provided, the script will open EDITOR for message entry)
  --pwd                          flag when if set will cause the script to derrive 'USER' and 'REPO' from the current working directory .git/config file

The --pwd flag will attempt to override both the environment variables and the passed arguments for the USER and USER options

ghissues-get

usage: ghissues-get [-h] [--user USER] [--token TOKEN] [--repo REPO] [--pwd]

options:
  -h, --help                     show this help message and exit
  --user USER                    owner of the git repo (environment variable = GITHUB_USERNAME)
  --token TOKEN                  Github token used to authenticate with the Github REST API (environment variable = GITHUB_TOKEN)
  --repo REPO                    repo name (environment variable = GITHUB_DEFAULT_REPO)
  --pwd                          flag when if set will cause the script to derrive 'USER' and 'REPO' from the current working

The --pwd flag will attempt to override both the environment variables and the passed arguments for the USER and REPO options

ghissues's People

Contributors

camratchford avatar

Watchers

 avatar

ghissues's Issues

Add 'ID' column to ghissues-get

Add 'ID' column to ghissues-get

This goes with the new ghissues-close script

It would be nice to have the issue id appear in the get command as well so users can have that information prior to running ghissues-close --id <ID>

Add another script: 'ghissues-close'

Add another script: 'ghissues-close'

A script that will close a github issue of your choice with a comment

Arguments:

  • Github token

  • Github username

  • Repo

  • Use current directory

  • Issue ID

  • Comment

  • If no issue id is provided it will list the current open issues, their IDs, then prompt you to: 'enter an id and hit enter'

  • If no comment is provided, it opens EDITOR.

  • The editor is populated with:

    • Closing <ISSUE NAME> with [commit](<link to commit>)

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.