Skip to content

Commit

Permalink
docs(update): v1.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 10, 2022
1 parent 612ff86 commit 75d9470
Show file tree
Hide file tree
Showing 13 changed files with 178 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/source/ci/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Subcommands
delete <delete>
lint <lint>
list <list>
retry <retry>
run <run>
status <status>
trace <trace>
Expand Down
33 changes: 33 additions & 0 deletions docs/source/ci/retry.rst
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

2 changes: 2 additions & 0 deletions docs/source/ci/run.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Examples

$ glab ci run
$ glab ci run -b trunk
$ glab ci run -b trunk --variables MYKEY:some_value
$ glab ci run -b trunk --variables MYKEY:some_value --variables KEY2:another_value

Options
Expand Down
1 change: 1 addition & 0 deletions docs/source/issue/list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Options
--author string Filter issue by author <username>
-c, --closed Get only closed issues
-C, --confidential Filter by confidential issues
-g, --group string Get issues from group and it's subgroups
--in string search in {title|description} (default "title,description")
-l, --label strings Filter issue by label <name>
-m, --milestone string Filter issue by milestone <id>
Expand Down
4 changes: 4 additions & 0 deletions docs/source/mr/create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Options

--allow-collaboration Allow commits from other members
-a, --assignee usernames Assign merge request to people by their usernames
--copy-issue-labels Copy labels from issue to the merge request. Used with --related-issue
--create-source-branch Create source branch if it does not exist
-d, --description string Supply a description for merge request
--draft Mark merge request as a draft
Expand All @@ -44,8 +45,11 @@ Options
-m, --milestone string The global ID or title of a milestone to assign
--no-editor Don't open editor to enter description. If set to true, uses prompt. Default is false
--push Push committed changes after creating merge request. Make sure you have committed changes
-i, --related-issue string Create merge request for an issue. The merge request title will be created from the issue if --title is not provided.
--remove-source-branch Remove Source Branch on merge
--reviewer usernames Request review from users by their usernames
-s, --source-branch string The Branch you are creating the merge request. Default is the current branch.
--squash-before-merge Squash commits into a single commit when merging
-b, --target-branch string The target or base branch into which you want your code merged
-t, --title string Supply a title for merge request
-w, --web continue merge request creation on web browser
Expand Down
1 change: 1 addition & 0 deletions docs/source/mr/list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Options
--author string Fitler merge request by Author <username>
-c, --closed Get only closed merge requests
-d, --draft Filter by draft merge requests
-g, --group string Get MRs from group and it's subgroups
-l, --label strings Filter merge request by label <name>
-M, --merged Get only merged merge requests
-m, --milestone string Filter merge request by milestone <id>
Expand Down
1 change: 1 addition & 0 deletions docs/source/mr/update.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Options
-r, --ready Mark merge request as ready to be reviewed and merged
--remove-source-branch Remove Source Branch on merge
--reviewer strings request review from users by their usernames, prefix with '!' or '-' to remove from existing reviewers, '+' to add, otherwise replace existing reviewers with given users
--squash-before-merge Toggles the option to squash commits into a single commit when merging
--target-branch string set target branch
-t, --title string Title of merge request
--unassign unassign all users
Expand Down
5 changes: 3 additions & 2 deletions docs/source/repo/create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
glab repo create
----------------

Create a new Gitlab project/repository
Create a new GitLab project/repository

Synopsis
~~~~~~~~


Create a new GitHub repository.
Create a new GitLab repository.

::

Expand Down Expand Up @@ -46,6 +46,7 @@ Options
-p, --private Make project private: visible only to project members
-P, --public Make project public: visible without any authentication
--readme Initialize project with README.md
--remoteName origin Remote name for the Git repository you're in. If not provided, origin by default. (default "origin")
-t, --tag stringArray The list of tags for the project.

Options inherited from parent commands
Expand Down
1 change: 1 addition & 0 deletions docs/source/repo/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Subcommands
create <create>
delete <delete>
fork <fork>
mirror <mirror>
search <search>
view <view>

Expand Down
35 changes: 35 additions & 0 deletions docs/source/repo/mirror.rst
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

43 changes: 43 additions & 0 deletions docs/source/variable/delete.rst
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

2 changes: 2 additions & 0 deletions docs/source/variable/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ Subcommands
:glob:
:maxdepth: 0

delete <delete>
list <list>
set <set>
update <update>



51 changes: 51 additions & 0 deletions docs/source/variable/update.rst
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

0 comments on commit 75d9470

Please sign in to comment.