<commit_before># org-labels [![NPM Version](https://badge.fury.io/js/org-labels.svg)](https://badge.fury.io/js/org-labels)

WORK IN PROGRESS

A tool for organization-wide GitHub issue labels.

### Install

```sh
$ sudo n 0.11.13

$ npm install -g org-labels
```

## Usage

```sh
$ org-labels <command>
```

### Commands

- `add` `<org> <label> <color>` - adds a label to all repos.
- `remove` `<org> <label>` - removes a label from all repos.
- `update` `<org> <label> <color>` - updates an existing label for all repos.
- `rename` `<org> <label> <new>` - renames an existing label for all repos.
- `standardize` `<org> <repo>` - reads a `config/github_labels.json` file from a repo and adds / updates labels on all repos.

### Example

This would add a `docs` issue label with the color `d4c5f9` to every repo in `repo-utils`.

```sh
$ org-labels add repo-utils docs d4c5f9
```

## License

The MIT License (MIT)

Copyright (c) 2014 Jeremiah "Fishrock123" Senkpiel <EMAIL>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
<commit_msg>readme: update docs<commit_after># org-labels [![NPM Version](https://badge.fury.io/js/org-labels.svg)](https://badge.fury.io/js/org-labels)

WORK IN PROGRESS

A tool to help manage organization-wide GitHub issue labels.

### Install

```sh
$ npm install -g org-labels
```

## Usage

Requires node.js 0.11+ - recommended for use with a node version manager such as [n](https://www.npmjs.org/package/n).

Also requires you to set either GITHUB_API_TOKEN (preferred) or GITHUB_USERNAME and GITHUB_PASSWORD in your environment.

```sh
$ sudo n 0.11.13

$ org-labels <command>
```

### Commands

- `add` `<org> <label> <color>` - adds a label to all repos.
- `remove` `<org> <label>` - removes a label from all repos.
- `update` `<org> <label> <color>` - updates an existing label for all repos.
- `rename` `<org> <label> <new>` - renames an existing label for all repos.
- `standardize` `<org> <repo>` - reads a `config/github_labels.json` file from a repo and adds / updates labels on all repos.

__color__ must be a hexadecimal color code without the preceding `#`.

### Example

The following would add a `docs` issue label with the color `d4c5f9` to every repo in `repo-utils`.

```sh
$ org-labels add repo-utils docs d4c5f9
```

## License

The MIT License (MIT)

Copyright (c) 2014 Jeremiah "Fishrock123" Senkpiel <EMAIL>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

{'fraction_non_alphanumeric': 0.09359944941500344, 'fraction_numerical': 0.008947006194081212, 'mean_word_length': 4.396039603960396, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 5, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6377681', 'n_tokens_mistral': 1349, 'n_tokens_neox': 1246, 'n_words': 610}