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 ajqexpression. yes bestie, jq girlies rise π«Ά-F,--output="text"β formats output as:text,json. default istext, no cap.-p,--page=1β page number. starts at1, as it should.-P,--per-page=30β number of items to list per page. default is30.
π 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 eitherOWNER/REPOorGROUP/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
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms