Get
Learn how to list hooks.
Command
$ vela get hook <parameters...> <arguments...>
For more information, you can run
vela get hook --help
.Parameters
The following parameters are used to configure the command:
Name | Description | Environment Variables |
---|---|---|
org | name of organization for the hooks | VELA_ORG , HOOK_ORG |
repo | name of repository for the hooks | VELA_REPO , HOOK_REPO |
output | format the output for the hooks | VELA_OUTPUT , HOOK_OUTPUT |
page | prints a specific page of hooks | VELA_PAGE , HOOK_PAGE |
per.page | number of hooks to print per page | VELA_PER_PAGE , HOOK_PER_PAGE |
This command also supports setting the following parameters via a configuration file:
org
repo
output
For more information, please review the CLI config documentation.
Permissions
COMING SOON!
Sample
This section assumes you have already installed and setup the CLI.
To install the CLI, please review the installation documentation.
To setup the CLI, please review the authentication documentation.
Request
$ pwd
~/github/octocat
$ vela get hook
Targeted Request
$ vela get hook --org github --repo octocat
Response
NUMBER STATUS EVENT BRANCH
5 failure push main
4 failure push main
3 success push main
2 success push main
1 success push main
Last modified September 16, 2022: chore: use main as default (#324) (400aa851)