Skip to main content

View

Command

$ vela view repo <parameters...> <arguments...>
tip

For more information, you can run vela view repo --help.

Parameters

The following parameters are used to configure the command:

NameDescriptionEnvironment Variables
orgname of organization for the repositoryVELA_ORG, REPO_ORG
reponame of repositoryVELA_REPO, REPO_NAME
outputformat the output for the repositoryVELA_OUTPUT, REPO_OUTPUT
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 view repo

Targeted Request

$ vela view repo --org github --repo octocat

Response

id: 1
userid: 1
org: github
name: octocat
fullname: github/octocat
link: https://github.com/github/octocat
clone: https://github.com/github/octocat.git
branch: main
buildlimit: 10
timeout: 60
counter: 0
visibility: public
private: false
trusted: false
active: true
allowpull: true
allowpush: true
allowdeploy: false
allowtag: false
allowcomment: false
pipelinetype: yaml