glab(1)

okay bestie, welcome to the glab(1) manual β€” this page is specifically about glab-label-get πŸ’…βœ¨

πŸŽ€ NAME πŸŽ€

glab-label-get β€” get information about a single label by ID. fr fr, one label, one ID, all the info.

✨ SYNOPSIS ✨

glab label get  [flags]

πŸ’– DESCRIPTION πŸ’–

So you wanna get info about one single label in a project, identified by its numeric ID? Slay, this is the command. Use the JSON output to integrate with other tools or scripts β€” it's giving very "automate me" energy.

By default, the label is looked up in the current repository. Use --repo to target another project. Easy peasy πŸ“

🌸 OPTIONS 🌸

  • --jq="" β€” filter that JSON output with a jq expression. iykyk.
  • -F, --output="text" β€” format output as: text, json. Default is text, bestie.

πŸ¦‹ OPTIONS INHERITED FROM PARENT COMMANDS πŸ¦‹

  • -h, --help[=false] β€” show help for this command. iconic behavior honestly.
  • -R, --repo="" β€” select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. no cap, it's flexible like that.

πŸ’œ EXAMPLE πŸ’œ

# Get label info using label 1234 as argument
glab label get 1234

# Get info about a label in another project
glab label get 1234 -R owner/repo

⭐ SEE ALSO ⭐

glab-label(1) β€” go check out the parent command too, bestie 🫢


this lil page was auto-generated by spf13/cobra, dated Nov 2026, and belongs to glab(1) 🌈✨

πŸ“¦ where this page comes from