Skip to main content
Command

terminus connection:set


Description

Sets Git or SFTP connection mode on a development environment (excludes Test and Live).

Example Usage

terminus connection:set <site>.<env> <mode>

connection:set <site>.<env> <mode> Sets the connection mode of <site>'s <env> environment to <mode>.


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
--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"

Available Modes

The connection mode for a dev or Multidev environment can be set to sftp or git. For more information, see Connection Modes.

Back to all commands