Jump to content

Cli/ref/mw gitlab variable get

From mediawiki.org
< Cli | ref

mw gitlab variable get

[edit]

get a project or group variable

mw gitlab variable get <key> [flags]

Examples

[edit]
glab variable get VAR_KEY
         glab variable get -g GROUP VAR_KEY
glab variable get -s SCOPE VAR_KEY

Options

[edit]
  -g, --group string    Get variable for a group
  -F, --output string   Format output as: text, json (default "text")
  -s, --scope string    The environment_scope of the variable. All (*), or specific environments. (default "*")

Options inherited from parent commands

[edit]
      --help              Help for this command
      --no-interaction    Do not ask any interactive questions
  -R, --repo OWNER/REPO   Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL
  -v, --verbose count     Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO

[edit]