glab(1)
π glab-variable-list β like, the whole manual, bestie
okay so real quick: this is a page from the glab manual (that's glab(1) if you're being fancy β¨), and it's all about one specific little command. Buckle up, it's short and it ate.
πΈ NAME πΈ
glab-variable-list β lists the variables for a project or a group. that's it, that's the whole job, and it does it flawlessly π
β¨ SYNOPSIS β¨
glab variable list [flags]
π¦ DESCRIPTION π¦
so by default this bad boy goes off and lists the variables for your current project β no flags needed, it just knows π«Ά
but wait, there's range. use --group if you wanna list variables for a group instead, or --instance if you're feeling main-character and want the instance variables. literally pick your vibe β¨
π OPTIONS π
-g,--group=""β picks a group or subgroup to work with. important heads up though: this gets ignored if a repository argument is set. so like, don't fight yourself, bestie π-i,--instance[=false]β display instance variables. defaults tofalse, so you gotta opt in.--jq=""β filter that JSON output through ajqexpression. iykyk π₯-F,--output="text"β formats the output as:text,json. default istext, obviously π-p,--page=1β page number. defaults to1, starting from the top like a good girlie.-P,--per-page=20β how many items to list per page. default is20. you can absolutely crank this up (see the examples, they go to100π).-R,--repo=""β selects another repository entirely. you can use eitherOWNER/REPOorGROUP/NAMESPACE/REPO. and yes, the full URL or Git URL is also accepted β flexible queen π
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β show help for this command. defaults tofalsebut honestly? sometimes you need it, no shame π
π EXAMPLE π
here's the entire mood board, copy-paste ready:
glab variable list
glab variable list -i
glab variable list --per-page 100 --page 1
glab variable list --group gitlab-org
glab variable list --group gitlab-org --per-page 100
see how the last two are basically twins but one of them went to --per-page 100? growth π±
π SEE ALSO π
glab-variable(1)β the parent command, go say hi to it π«Ά
ngl, that's the whole page. every flag, every default, every example β all accounted for. no cap πβ¨
and that's a wrap, bestie!! this little icon was auto generated by spf13/cobra back in Nov 2026, and it lives in the glab(1) manual β so if you ever forget, just remember: it's giving cobra, it's giving glab, periodt ππ
π¦ 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