glab-label-list - Man Page

List labels in a project or group.

Synopsis

glab label list [flags]

Description

By default, labels are listed for the current repository. Use --group to list labels for a group or subgroup, or --repo to target another project.

Use --output json to format the result as JSON for use with other tools.

Options

-g, --group="" List labels for a group.

--jq="" Filter JSON output with a jq expression.

-F, --output="text" Format output as: text, json.

-p, --page=1 Page number.

-P, --per-page=30 Number of items to list per page.

Options Inherited from Parent Commands

-h, --help[=false] Show help for this command.

-R, --repo="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

Example

# List labels in the current repository
glab label list

# List labels in another project
glab label list -R owner/repository

# List labels in a group
glab label list -g mygroup

# List labels as JSON
glab label list --output json

See Also

glab-label(1)

Referenced By

glab-label(1).

Jun 2026 Auto generated by spf13/cobra