1glab(1)                                                                glab(1)
2
3
4

NAME

6       glab-variable-update - Update an existing project or group variable
7
8
9

SYNOPSIS

11       glab variable update   [flags]
12
13
14

DESCRIPTION

16       Update an existing project or group variable
17
18
19

OPTIONS

21       -g, --group=""      Set variable for a group
22
23
24       -m, --masked[=false]      Whether the variable is masked
25
26
27       -p, --protected[=false]      Whether the variable is protected
28
29
30       -r, --raw[=false]      Whether the variable is treated as a raw string
31
32
33       -s,  --scope=""       The environment_scope of the variable. All (), or
34       specific environments
35
36
37       -t, --type="env_var"      The type of a variable: {env_var|file}
38
39
40       -v, --value=""      The value of a variable
41
42
43

OPTIONS INHERITED FROM PARENT COMMANDS

45       --help[=false]      Show help for command
46
47
48       -R, --repo=""      Select another repository using  the  OWNER/REPO  or
49       GROUP/NAMESPACE/REPO format or full URL or git URL
50
51
52

EXAMPLE

54       glab variable update WITH_ARG "some value"
55       glab variable update FROM_FLAG -v "some value"
56       glab variable update FROM_ENV_WITH_ARG "${ENV_VAR}"
57       glab variable update FROM_ENV_WITH_FLAG -v"${ENV_VAR}"
58       glab variable update FROM_FILE < secret.txt
59       cat file.txt | glab variable update SERVER_TOKEN
60       cat token.txt | glab variable update GROUP_TOKEN -g mygroup --scope=prod
61
62
63
64
65

SEE ALSO

67       glab-variable(1)
68
69
70
71Auto generated by spf13/cobra      Nov 2023                            glab(1)
Impressum