Skip to main content

Get

Command

$ vela get hook <parameters...> <arguments...>
tip

For more information, you can run vela get hook --help.

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
orgname of organization for the hooksVELA_ORG, HOOK_ORG
reponame of repository for the hooksVELA_REPO, HOOK_REPO
outputformat the output for the hooksVELA_OUTPUT, HOOK_OUTPUT
pageprints a specific page of hooksVELA_PAGE, HOOK_PAGE
per.pagenumber of hooks to print per pageVELA_PER_PAGE, HOOK_PER_PAGE
tip

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

warning

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