1GH-LABEL-CREATE(1)             GitHub CLI manual            GH-LABEL-CREATE(1)
2
3
4

NAME

6       gh-label-create - Create a new label
7
8
9

SYNOPSIS

11       gh label create <name> [flags]
12
13
14

DESCRIPTION

16       Create a new label on GitHub, or updates an existing one with --force.
17
18
19       Must  specify  name  for  the  label. The description and color are op‐
20       tional.  If a color isn't provided, a random one will be chosen.
21
22
23       The label color needs to be 6 character hex value.
24
25
26

OPTIONS

28       -c, --color <string>
29              Color of the label
30
31
32       -d, --description <string>
33              Description of the label
34
35
36       -f, --force
37              Update the label color and description if label already exists
38
39
40

OPTIONS INHERITED FROM PARENT COMMANDS

42       -R, --repo <[HOST/]OWNER/REPO>
43              Select another repository using the [HOST/]OWNER/REPO format
44
45
46

EXAMPLE

48              # create new bug label
49              $ gh label create bug --description "Something isn't working" --color E99695
50
51
52
53
54

SEE ALSO

56       gh-label(1)
57
58
59
60                                   Jun 2022                 GH-LABEL-CREATE(1)
Impressum