picasso

1.1.0 • Public • Published

picasso

Feather weight CLI tool for synching Github issue labels across repos.

Usage

  • Create a simple JSON object mapping name to color (e.g. labels.example.json):

labels.example.json

{
  "good first issue": "DD1A8E",
  "help wanted":      "74E7BA",
  "investigate":      "74E7BA",
  "feature request":  "DB2E2E",
  "invalid":          "EDEDED",
  "duplicate":        "EDEDED",
  "wontfix":          "EDEDED",
  "question":         "FFD069",
  "faq":              "FFD069",
  "docs":             "FFD069",
  "bug":              "72D1ED",
  "regression":       "72D1ED",
  "breaking":         "72D1ED",
  "blocked":          "444444"
}
  • Install and run picasso:
  npm install picasso -g
  picasso --username [gh-username] --password [gh-password] \
    --repo indexzero/picasso --file labels.json

Watch as the labels are added to your repo:

  $ picasso 
  ƒ. username indexzero
  ƒ. password 
  ƒ. repo indexzero/picasso
  ƒ. label-file labels.example.json
  ⅰ. Listing labels for indexzero/picasso
  ⅰ. Updating bug in indexzero/picasso
  ⅰ. Updating duplicate in indexzero/picasso
  ⅰ. Updating enhancement in indexzero/picasso
  ⅰ. Updating invalid in indexzero/picasso
  ⅰ. Updating question in indexzero/picasso
  ⅰ. Updating wontfix in indexzero/picasso
  ⅰ. Updating design in indexzero/picasso
  ⅰ. Updating development in indexzero/picasso
  ⅰ. Updating regression in indexzero/picasso
  ⅰ. Updating blocked in indexzero/picasso
  ⅰ. Updating deployed in indexzero/picasso
  ⅰ. Done syncing labels with indexzero/picasso

picasso uses frameless

  1. Passing --save will save all options to ~/picasso.f.json
  2. If any CLI option is not provided you will be prompted for it.

LICENSE: MIT

Author: Charlie Robbins

Readme

Keywords

Package Sidebar

Install

npm i picasso

Weekly Downloads

8

Version

1.1.0

License

MIT

Unpacked Size

7.41 kB

Total Files

5

Last publish

Collaborators

  • indexzero