gh_create_label: Create a GitHub label for a repository.

Description Usage Arguments Value See Also Examples

View source: R/issues.R

Description

Create a GitHub label for a repository.

Usage

1
gh_create_label(repo, name, color, description = NULL)

Arguments

repo

Repository name in the form of "username/reponame" or "orgname/reponame", e.g. "lwjohnst86/githubr".

name

Name to give the new label.

color

Color in hexadecimal. See the list of common colors.

description

Description to give label.

Value

No output.

See Also

See githubr-package.

Examples

1
2
3
4
## Not run: 
gh_create_label("lwjohnst86/test-githubr", "Interest", "deadad")

## End(Not run)

lwjohnst86/githubr documentation built on Aug. 17, 2020, 3:37 a.m.