Version 2.x
Terminus plugin to clone the code from any available Pantheon site environment to your local system.
$ terminus site:env:code | env:code | code <site>.<env>
Clone the code from the my-site development environment.
terminus code my-site.dev
Learn more about Terminus and Terminus Plugins.
To install this plugin using Terminus 3:
terminus self:plugin:install terminus-plugin-project/terminus-code-plugin
On older versions of Terminus:
mkdir -p ~/.terminus/plugins
composer create-project --no-dev -d ~/.terminus/plugins terminus-plugin-project/terminus-code-plugin
For help installing, see Manage Plugins.
mkdir -p ~/.terminus/plugins
composer create-project -d ~/.terminus/plugins terminus-plugin-project/terminus-code-plugin:~2
This plugin requires no configuration to use.
export TERMINUS_SITE=my-site
cd ~/.terminus/plugins/terminus-code-plugin
composer install
composer test
Run terminus help code
for help.