Skip to content

Instantly share code, notes, and snippets.

View Chompas's full-sized avatar
🧉

Emiliano Viscarra Chompas

🧉
View GitHub Profile
@Chompas
Chompas / create_labels.sh
Last active August 17, 2018 15:57
Bash script to create multiple Github labels at once
#!/usr/bin/env bash
# This is a modification from https://gist.github.com/omegahm/28d87a4e1411c030aa89
# Colours and convention picked from https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/
## Instructions
# Bash 4+ is needed because of associative arrays
# jq (https://stedolan.github.io/jq/)
# Create access Token from Github (https://help.github.com/articles/creating-an-access-token-for-command-line-use/) and save it under ".token" file
# Comment / Uncomment / Add, all the labels you want