glab(1)

πŸ’– glab-label-list πŸ’–

okay bestie, welcome to the glab(1) manual β€” this page is all about listing labels, and it's lowkey a whole vibe. let's get into it ✨


🌸 NAME 🌸

glab-label-list β€” list labels in a project or group. periodt.


πŸ¦‹ SYNOPSIS πŸ¦‹

glab label list [flags]

πŸŽ€ DESCRIPTION πŸŽ€

so by default, labels are listed for the current repository. that's the main character behavior.

use --group to list labels for a group or subgroup, or --repo to target another project. very choose-your-own-adventure of it.

and if you need the result as JSON for use with other tools? use --output json. slay for pipelines, fr fr.


✨ OPTIONS ✨

  • -g, --group="" β€” lists labels for a group. cute and specific πŸ’…
  • --jq="" β€” filters JSON output with a jq expression. yes bestie, jq girlies rise 🫢
  • -F, --output="text" β€” formats output as: text, json. default is text, no cap.
  • -p, --page=1 β€” page number. starts at 1, as it should.
  • -P, --per-page=30 β€” number of items to list per page. default is 30.

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

  • -h, --help[=false] β€” shows help for this command. your built-in bestie when you're lost 🌈
  • -R, --repo="" β€” selects another repository. you can use either OWNER/REPO or GROUP/NAMESPACE/REPO. the full URL or Git URL is also accepted. iconic flexibility πŸ’–

πŸ“ 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) β€” go check it out, bestie πŸ¦‹


auto-generated by spf13/cobra, dated Nov 2026, and filed under the glab(1) manual β€” bye bestie, go list some labels πŸ’…πŸŽ€

πŸ“¦ where this page comes from