Skip to main content
Command

Terminus Command Reference

terminus vcs:connection:add


Description

Registers a VCS installation with the VCS API.

Example Usage

vcs:connection:add <organization> Registers a VCS installation with the VCS API.


vcs:connection:add <organization> --vcs-provider=gitlab Registers a GitLab installation.


vcs:connection:add <organization> --vcs-provider=gitlab --vcs-host=gitlab.example.com Registers a self-hosted GitLab installation.


vcs-connection-add


Options

OptionDescription
--ansiForce (or disable --no-ansi) ANSI output
--defineDefine a configuration item value.
--helpDisplay help for the given command. When no command is given display help for the <info>list</info> command
--no-ansiNegate the "--ansi" option
--no-interactionDo not ask any interactive question
--quietDo not output any message
--vcs-hostHostname of a self-hosted instance (e.g., ghes.example.com or gitlab.example.com).
--vcs-providerVCS provider (github or gitlab). Default is github.
--vcs-tokenAccess token for the VCS provider. Only applies to GitLab.
--verboseIncrease the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv)
--versionDisplay this application version
--yesAnswer all confirmations with "yes"
Back to all commands