glab(1)

πŸ’… glab(1) β€” the milestone glow-up edition

okay bestie, so this is a page from the glab manual (that's the glab(1) bit up top, iykyk) β€” and we're zooming in on one specific little command: glab-milestone-get. it's giving "small but mighty." let's get into it πŸŽ€


✨ NAME ✨

glab-milestone-get β€” grab a milestone by its ID, in a project or a group. that's the whole job. slay. πŸ’…


🌸 SYNOPSIS 🌸

glab milestone get [] [flags]

yes, the [] is literally empty like that in the original β€” no cap, we're not touching it. what you do pass is the numeric ID, and then whatever flags your heart desires. πŸ¦‹


🧚 DESCRIPTION 🧚

So the vibe is: you want the deets on one single milestone β€” in a project or a group β€” and you find it by its numeric ID. that's it, that's the whole thing.

Pro tip from the source: use --output json if you want the result formatted as JSON so you can pipe it into other tools. it's giving "main character who plays well with others." πŸ”₯

By default the milestone gets looked up in the current project β€” like, your home turf. but you've got options:

  • want a different project? that's what --project is for.
  • want a group-level milestone? hiiiii --group.
⚠️ heads up bestie: --project and --group are mutually exclusive. pick one. you cannot have both, that's not the vibe check you want to fail. πŸ’€

⭐ OPTIONS ⭐

  • --group="" β€” the ID or URL-encoded path of the group. 🫢
  • --jq="" β€” filter that JSON output with a jq expression. chef's kiss for chaining stuff together. ✨
  • -F, --output="text" β€” format the output as: text, json. default is text, obvi.
  • --project="" β€” the ID or URL-encoded path of the project.

πŸŽ€ OPTIONS INHERITED FROM PARENT COMMANDS πŸŽ€

these come from the parent command, so they're kinda like hand-me-downs but make it iconic:

  • -h, --help[=false] β€” show help for this command. the classic. πŸ’–
  • -R, --repo="" β€” select another repository. you can use either OWNER/REPO or GROUP/NAMESPACE/REPO, and the full URL or Git URL is also accepted. flexible queen 🌈

πŸ¦‹ EXAMPLE πŸ¦‹

here's the receipts, all four of them, exactly as written:

# Get a milestone from the current project
glab milestone get 123

# Get a milestone from a different project
glab milestone get 123 --project owner/project

# Get a group milestone
glab milestone get 123 --group example-group

# Get a milestone as JSON
glab milestone get 123 --output json

like?? look at that. 123 in every single one. consistency icon. πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ


that's the whole thing bestie, you're basically a milestone-getting expert now. no notes. πŸ’…βœ¨

sign-off time: this page is Auto generated by spf13/cobra, dated Nov 2026, and it lives in the glab(1) manual. robots wrote it, i just made it cute πŸ§šπŸ“

πŸ“¦ where this page comes from