Setup Github Labels from a yaml/json config file.
$ ghlabel [OPTIONS] COMMAND [ARGS]...
Show version and exit.
Enable debug mode and show logs.
Show this message and exit.
Generate starter labels config files.
Add/Remove Github labels from config files.
Generate starter labels config files.
$ ghlabel dump [OPTIONS]
Deletes all files in labels dir.
Specify the dir where to find labels.
Label file extension.
App to determine label template.
Show this message and exit.
Add/Remove Github labels from config files.
$ ghlabel setup [TOKEN] [REPO_OWNER] [REPO_NAME] [OPTIONS]
Specify the dir where to find labels.
Strictly mirror Github labels from labels config.
Add more labels.
Remove more labels.
Remove all Github labels.
Show this message and exit.
REPO_NAME=medrec ghlabel setup
# -r [comma-separated string]
# will be parsed as list[str]
ghlabel setup -r "Type: Feature Request, Type: Bug"
# -a [valid json string]
# will be parsed as list[dict[str, str]]
ghlabel setup -a "[{'name': 'wontfix', 'color': '#ffffff'}, {'name': 'bug', 'color': '#d73a4a', 'description': 'Something isn't working'}]"