Giter Club home page Giter Club logo

issuecreator's Introduction

A CLI tool for creating issues in your GitHub repository based on a json file.

Installation

# install the package
$ npm install -g issuecreator

# create a json file containing a list of issue objects (see example below)
$ touch issues.json

# start the cli tool
$ issuecreator <absolute-path-to-your-issues.json-file>

issues.json example

[
  {
    "title": "Issue 1",
    "body": "Issue description"
   },
   {
     "title": "Issue 2 (If absent, empty string is default value even though I don't know why you would leave title empty)",
     "body": "Another issue description (If absent, empty string is default value)"
    }
]
$ issuecreator /home/myusername/issues.json

Other Info

  • This module is created to be used globally but you can also install locally and then run node lib/index.js <issues.json absolute file path>

  • You need to use absolute path for your issues files for the module to work. Relative file paths won't work in most cases.

  • The cli tool will ask for your Github username and then the name of the repository for which the issues will be created. And finally, you need to provide a personal access token. This is only used for making the queries to the GitHub GraphQL API. Only the repo authorization is needed. You can easily create one, use for this tool and then delete it by following this guide : https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token

Tests

You can run the tests as follows:

$ npm install issuecreator
$ npm test

License

ISC

issuecreator's People

Contributors

animyrch avatar

Watchers

James Cloos avatar  avatar

issuecreator's Issues

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.