Skip to main content
Command

terminus local:clone


Description

CLone a copy of the site code into $HOME/pantheon-local-copies

Example Usage

terminus local:clone --site_dir SITE_DIR --override OVERRIDE -- <site_id>

local:clone <site> Clone's a local copy into "$HOME/pantheon-local-copies"


lc


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
--overrideOverride the local copy if exists
--quietDo not output any message
--site_dirCustom directory for the local copy. By default, the site name is used
--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