homepage: https://github.com/vincenthz/gh-labeler#readme
changelog-type: ''
hash: d3c249d929f05287aed0c32b210369aff6e9b9754f838dd557994ec6b6891e7e
test-bench-deps: {}
maintainer: vincent@snarc.org
synopsis: Github Standard Labeler
changelog: ''
basic-deps:
  base: ! '>=0 && <5'
  text: -any
  memory: -any
  github: -any
  vector: -any
  directory: -any
all-versions:
- '0.1.0'
author: Vincent Hanquez
latest: '0.1.0'
description-type: markdown
description: ! '# gh-labeler


  This is a simple CLI tool to create, delete and synchronise labels

  on a github repo.


  ## Install


  The simplest method is to install `stack` and then:


  ```

  stack install gh-labeler

  ```


  ## Usage


  Create a github OAuth token with the `public_repo` priviledge (in `repo` section),

  and copy the token into a file in your HOME directory called `.gh-labeler`.


  Then:


  * Listing labels:


  ```

  gh-labeler vincenthz gh-labeler list

  ```


  * Create a label


  ```

  gh-labeler vincenthz gh-labeler create myLabel eeb2d3

  ```


  * Delete a label


  ```

  gh-labeler vincenthz gh-labeler delete myLabel

  ```


  * Synchronise from a file (See Example label file for the format):


  ```

  gh-labeler vincenthz gh-labeler sync my-labels.txt

  ```


  ## Caveats


  * The tools doesn''t yet support label description, since the underlying library
  doesn''t support them.


  ## Example label file


  Very simple syntax of `<color> <name>`:


  Example:


  ```

  b60205 B - Bug

  0e8a16 D - easy

  d93f0b D - hard

  fbca04 D - medium

  006b75 P - high

  006b75 P - low

  cccccc R - duplicate

  cccccc R - invalid

  cccccc R - wontfix

  4ef47d X - WIP

  fef2c0 X - code-structure

  fef2c0 X - for-discussion

  fef2c0 X - help wanted

  fef2c0 X - question

  fef2c0 X - voting

  ```

'
license-name: BSD3

Update from Hackage at 2018-03-13T09:44:50Z
Update from Hackage at 2018-03-13T09:44:50Z
