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
--projectis for. - want a group-level milestone? hiiiii
--group.
β οΈ heads up bestie:--projectand--groupare 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 istext, 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 eitherOWNER/REPOorGROUP/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 π
glab-milestone(1)β the parent page, go say hi π«Ά
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
- 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