Skip to content

mw gitlab variable list

Releasev0.35.0 · cfeceb67

mw gitlab variable list [flags]

List variables for a project or group.

-g, --group <string>
Select a group or subgroup. Ignored if a repository argument is set.
-i, --instance
Display instance variables.
-F, --output <string>
Format output as: text, json. Default: text.
-p, --page <int>
Page number. Default: 1.
-P, --per-page <int>
Number of items to list per page. Default: 20.
-R, --repo <OWNER/REPO>
Select another repository. Can use either OWNER/REPO or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL.
-h, --help
Show help for this command.
--no-interaction
Do not ask any interactive questions
--profile <string>
Saved account profile (login defaults to the verified username)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
$ 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
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.