This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Aug 10, 2021
1 parent
3dc01da
commit b8a02b5
Showing
11 changed files
with
282 additions
and
1 deletion.
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
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,6 +31,7 @@ Subcommands | |
delete <delete> | ||
fork <fork> | ||
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,51 @@ | ||
.. _glab_repo_view: | ||
|
||
glab repo view | ||
-------------- | ||
|
||
View a project/repository | ||
|
||
Synopsis | ||
~~~~~~~~ | ||
|
||
|
||
Display the description and README of a project or open it in the browser. | ||
|
||
:: | ||
|
||
glab repo view [repository] [flags] | ||
|
||
Examples | ||
~~~~~~~~ | ||
|
||
:: | ||
|
||
# view project information for the current directory | ||
$ glab repo view | ||
# view project information of specified name | ||
$ glab repo view my-project | ||
$ glab repo view user/repo | ||
$ glab repo view group/namespace/repo | ||
# specify repo by full [git] URL | ||
$ glab repo view git@gitlab.com:user/repo.git | ||
$ glab repo view https://gitlab.company.org/user/repo | ||
$ glab repo view https://gitlab.company.org/user/repo.git | ||
|
||
Options | ||
~~~~~~~ | ||
|
||
:: | ||
|
||
-b, --branch string View a specific branch of the repository | ||
-w, --web Open a project in the browser | ||
|
||
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,47 @@ | ||
.. _glab_ssh-key_add: | ||
|
||
glab ssh-key add | ||
---------------- | ||
|
||
Add an SSH key to your GitLab account | ||
|
||
Synopsis | ||
~~~~~~~~ | ||
|
||
|
||
Creates a new SSH key owned by the currently authenticated user. | ||
|
||
The --title flag is always required | ||
|
||
|
||
:: | ||
|
||
glab ssh-key add <title> [key-file] [flags] | ||
|
||
Examples | ||
~~~~~~~~ | ||
|
||
:: | ||
|
||
# Read ssh key from stdin and upload | ||
$ glab ssh-key add -t "my title" | ||
# Read ssh key from specified key file and upload | ||
$ glab ssh-key add ~/.ssh/id_ed25519.pub -t "my title" | ||
|
||
Options | ||
~~~~~~~ | ||
|
||
:: | ||
|
||
-e, --expires-at string The expiration date of the SSH key in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ) | ||
-t, --title string New SSH key's title | ||
|
||
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,36 @@ | ||
.. _glab_ssh-key_get: | ||
|
||
glab ssh-key get | ||
---------------- | ||
|
||
Gets a single key | ||
|
||
Synopsis | ||
~~~~~~~~ | ||
|
||
|
||
Returns a single SSH key specified by the ID | ||
|
||
:: | ||
|
||
glab ssh-key get <key-id> [flags] | ||
|
||
Examples | ||
~~~~~~~~ | ||
|
||
:: | ||
|
||
# Get ssh key with ID as argument | ||
$ glab ssh-key get 7750633 | ||
# Interactive | ||
$ glab ssh-key get | ||
|
||
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,25 @@ | ||
.. _glab_ssh-key_help: | ||
|
||
glab ssh-key help | ||
----------------- | ||
|
||
Help about any command | ||
|
||
Synopsis | ||
~~~~~~~~ | ||
|
||
|
||
Help provides help for any command in the application. | ||
Simply type ssh-key help [path to command] for full details. | ||
|
||
:: | ||
|
||
glab ssh-key help [command] [flags] | ||
|
||
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,32 @@ | ||
.. _glab_ssh-key: | ||
|
||
glab ssh-key | ||
------------ | ||
|
||
Manage SSH keys | ||
|
||
Synopsis | ||
~~~~~~~~ | ||
|
||
|
||
Manage SSH keys registered with your GitLab account | ||
|
||
Options inherited from parent commands | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
:: | ||
|
||
--help Show help for command | ||
|
||
Subcommands | ||
~~~~~~~~~~~ | ||
.. toctree:: | ||
:glob: | ||
:maxdepth: 0 | ||
|
||
add <add> | ||
get <get> | ||
list <list> | ||
|
||
|
||
|
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,39 @@ | ||
.. _glab_ssh-key_list: | ||
|
||
glab ssh-key list | ||
----------------- | ||
|
||
Lists currently authenticated user’s SSH keys | ||
|
||
Synopsis | ||
~~~~~~~~ | ||
|
||
|
||
Get a list of currently authenticated user’s SSH keys | ||
|
||
:: | ||
|
||
glab ssh-key list [flags] | ||
|
||
Examples | ||
~~~~~~~~ | ||
|
||
:: | ||
|
||
$ glab ssh-key list | ||
|
||
Options | ||
~~~~~~~ | ||
|
||
:: | ||
|
||
--show-id Show IDs of SSH Keys | ||
|
||
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 |
---|---|---|
|
@@ -31,6 +31,7 @@ Subcommands | |
:glob: | ||
:maxdepth: 0 | ||
|
||
list <list> | ||
set <set> | ||
|
||
|
||
|
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,40 @@ | ||
.. _glab_variable_list: | ||
|
||
glab variable list | ||
------------------ | ||
|
||
List project or group variables | ||
|
||
Synopsis | ||
~~~~~~~~ | ||
|
||
|
||
List project or group variables | ||
|
||
:: | ||
|
||
glab variable list [flags] | ||
|
||
Examples | ||
~~~~~~~~ | ||
|
||
:: | ||
|
||
$ glab variable list | ||
|
||
Options | ||
~~~~~~~ | ||
|
||
:: | ||
|
||
-g, --group string List group variables | ||
|
||
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 | ||
|