forked from profclems/glab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
github-actions
committed
Jan 10, 2022
1 parent
612ff86
commit 75d9470
Showing
13 changed files
with
178 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.. _glab_ci_retry: | ||
|
||
glab ci retry | ||
------------- | ||
|
||
Retry a CI job | ||
|
||
Synopsis | ||
~~~~~~~~ | ||
|
||
|
||
Retry a CI job | ||
|
||
:: | ||
|
||
glab ci retry <job-id> [flags] | ||
|
||
Examples | ||
~~~~~~~~ | ||
|
||
:: | ||
|
||
$ glab ci retry 871528 | ||
|
||
Options inherited from parent commands | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
:: | ||
|
||
--help Show help for command | ||
-R, --repo OWNER/REPO Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ Subcommands | |
create <create> | ||
delete <delete> | ||
fork <fork> | ||
mirror <mirror> | ||
search <search> | ||
view <view> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.. _glab_repo_mirror: | ||
|
||
glab repo mirror | ||
---------------- | ||
|
||
Mirror a project/repository | ||
|
||
Synopsis | ||
~~~~~~~~ | ||
|
||
|
||
Mirrors a project/repository to the specified location using pull or push method. | ||
|
||
:: | ||
|
||
glab repo mirror [ID | URL | PATH] [flags] | ||
|
||
Options | ||
~~~~~~~ | ||
|
||
:: | ||
|
||
--allow-divergence Determines if divergent refs are skipped. | ||
--direction string Mirror direction (default "pull") | ||
--enabled Determines if the mirror is enabled. (default true) | ||
--protected-branches-only Determines if only protected branches are mirrored. | ||
--url string The target URL to which the repository is mirrored. | ||
|
||
Options inherited from parent commands | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
:: | ||
|
||
--help Show help for command | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
.. _glab_variable_delete: | ||
|
||
glab variable delete | ||
-------------------- | ||
|
||
Delete a project or group variable | ||
|
||
Synopsis | ||
~~~~~~~~ | ||
|
||
|
||
Delete a project or group variable | ||
|
||
:: | ||
|
||
glab variable delete <key> [flags] | ||
|
||
Examples | ||
~~~~~~~~ | ||
|
||
:: | ||
|
||
$ glab variable delete VAR_NAME | ||
$ glab variable delete VAR_NAME --scope=prod | ||
$ glab variable delete VARNAME -g mygroup | ||
|
||
Options | ||
~~~~~~~ | ||
|
||
:: | ||
|
||
-g, --group string Delete variable from a group | ||
-s, --scope string The environment_scope of the variable. All (*), or specific environments (default "*") | ||
|
||
Options inherited from parent commands | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
:: | ||
|
||
--help Show help for command | ||
-R, --repo OWNER/REPO Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,8 +31,10 @@ Subcommands | |
:glob: | ||
:maxdepth: 0 | ||
|
||
delete <delete> | ||
list <list> | ||
set <set> | ||
update <update> | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
.. _glab_variable_update: | ||
|
||
glab variable update | ||
-------------------- | ||
|
||
Update an existing project or group variable | ||
|
||
Synopsis | ||
~~~~~~~~ | ||
|
||
|
||
Update an existing project or group variable | ||
|
||
:: | ||
|
||
glab variable update <key> <value> [flags] | ||
|
||
Examples | ||
~~~~~~~~ | ||
|
||
:: | ||
|
||
$ glab variable update WITH_ARG "some value" | ||
$ glab variable update FROM_FLAG -v "some value" | ||
$ glab variable update FROM_ENV_WITH_ARG "${ENV_VAR}" | ||
$ glab variable update FROM_ENV_WITH_FLAG -v"${ENV_VAR}" | ||
$ glab variable update FROM_FILE < secret.txt | ||
$ cat file.txt | glab variable update SERVER_TOKEN | ||
$ cat token.txt | glab variable update GROUP_TOKEN -g mygroup --scope=prod | ||
|
||
Options | ||
~~~~~~~ | ||
|
||
:: | ||
|
||
-g, --group string Set variable for a group | ||
-m, --masked Whether the variable is masked | ||
-p, --protected Whether the variable is protected | ||
-s, --scope string The environment_scope of the variable. All (*), or specific environments (default "*") | ||
-t, --type string The type of a variable: {env_var|file} (default "env_var") | ||
-v, --value string The value of a variable | ||
|
||
Options inherited from parent commands | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
:: | ||
|
||
--help Show help for command | ||
-R, --repo OWNER/REPO Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL | ||
|