📜  glab 变量 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:33.243000             🧑  作者: Mango

代码示例1
$ glab variable set WITH_ARG "some value"
$ glab variable set FROM_FLAG -v "some value"
$ glab variable set FROM_ENV_WITH_ARG "${ENV_VAR}"
$ glab variable set FROM_ENV_WITH_FLAG -v"${ENV_VAR}"
$ glab variable set FROM_FILE < secret.txt
$ cat file.txt | glab variable set SERVER_TOKEN
$ cat token.txt | glab variable set GROUP_TOKEN -g mygroup --scope=prod