.nh .TH "glab" "1" "Apr 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP glab-variable-get - get a project or group variable .SH SYNOPSIS .PP \fBglab variable get [flags]\fP .SH DESCRIPTION .PP get a project or group variable .SH OPTIONS .PP \fB-g\fP, \fB--group\fP="" Get variable for a group .PP \fB-F\fP, \fB--output\fP="text" Format output as: text, json .PP \fB-s\fP, \fB--scope\fP="\fI" The environment_scope of the variable. All (\fP), or specific environments. .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB--help\fP[=false] Show help for command .PP \fB-R\fP, \fB--repo\fP="" Select another repository using the \fB\fCOWNER/REPO\fR or \fB\fCGROUP/NAMESPACE/REPO\fR format or full URL or git URL .SH EXAMPLE .PP .RS .nf glab variable get VAR_KEY glab variable get -g GROUP VAR_KEY glab variable get -s SCOPE VAR_KEY .fi .RE .SH SEE ALSO .PP \fBglab-variable(1)\fP