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

NAME

6       gh-label-list - List labels in a repository
7
8
9

SYNOPSIS

11       gh label list [flags]
12
13
14

DESCRIPTION

16       Display labels in a GitHub repository.
17
18
19       When  using  the  --search flag results are sorted by best match of the
20       query.  This behavior cannot be configured with the --order  or  --sort
21       flags.
22
23
24

OPTIONS

26       -q, --jq <expression>
27              Filter JSON output using a jq expression
28
29
30       --json <fields>
31              Output JSON with the specified fields
32
33
34       -L, --limit <int>
35              Maximum number of labels to fetch
36
37
38       --order <string>
39              Order of labels returned: {asc|desc}
40
41
42       -S, --search <string>
43              Search label names and descriptions
44
45
46       --sort <string>
47              Sort fetched labels: {created|name}
48
49
50       -t, --template <string>
51              Format JSON output using a Go template
52
53
54       -w, --web
55              List labels in the web browser
56
57
58

OPTIONS INHERITED FROM PARENT COMMANDS

60       -R, --repo <[HOST/]OWNER/REPO>
61              Select another repository using the [HOST/]OWNER/REPO format
62
63
64

EXAMPLE

66              # sort labels by name
67              $ gh label list --sort name
68
69              # find labels with "bug" in the name or description
70              $ gh label list --search bug
71
72
73
74
75

SEE ALSO

77       gh-label(1)
78
79
80
81                                   Jun 2022                   GH-LABEL-LIST(1)
Impressum