glab(1)
π
glab-label-create β the glab manual, bestie edition π
okay so picture this: you're deep in the glab manual (yes, that glab, the GitLab CLI one, hi π) and you've found the page for glab-label-create. it's giving "tiny command, big slay". let's get into it β¨
β¨ NAME β¨
glab-label-create β create a label in a project. that's it. that's the whole job. iconic behavior honestly π·οΈ
πΈ SYNOPSIS πΈ
glab label create [flags]
short, sweet, and absolutely ready to make a label for you π«Ά
π¦ DESCRIPTION π¦
so here's the vibe: you use the flags to set the label's name, color, description, and priority. that's the whole toolkit π§°
β οΈ heads up bestie: the --name flag is required. no name, no label. periodt.
and if you don't bother specifying a color, --color defaults to #428BCA. cute of it, honestly π
by default the label gets created in the current repository β like, wherever you're standing. but if you want to target another project, just use --repo and point it somewhere else π
π OPTIONS π
-c,--color="#428BCA"β the color of the label. plain or HEX code, your call. default is literally#428BCAπ¨-d,--description=""β label description. defaults to empty, so spill the tea or don't π΅-n,--name=""β the name of the label. defaults to empty in the flag, but remember:--nameis required, so fill it in π-p,--priority=0β label priority. defaults to0β
π OPTIONS INHERITED FROM PARENT COMMANDS π
these ones come from the parent command, so you get them for free, no cap:
-h,--help[=false]β show help for this command. defaults tofalseπ-R,--repo=""β select another repository. you can use eitherOWNER/REPOorGROUP/NAMESPACE/REPO. the full URL or Git URL is also accepted. so many doors, all open πͺβ¨
π EXAMPLE π
okay bestie, real-world demos, let's go:
# Create a label in the current repository
glab label create --name bug --color "#FF0000" --description "Something is broken"
# Create a label in another project
glab label create --name bug -R owner/repo
see? one for the home team, one for the neighbor's repo. both slay ππ₯
π§ SEE ALSO π§
glab-label(1)β go hang out with the parent label page, it's cool too π«Ά
and that's the whole page! auto generated by spf13/cobra, from the Nov 2026 era, living inside the glab(1) manual π
mwah π go make some labels, you're doing amazing sweetie πβ
π¦ 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