Terminus Code Plugin
Version 2.x, (*1)
, (*2)
Terminus plugin to clone the code from any available Pantheon site environment to your local system., (*3)
Usage:
$ terminus site:env:code | env:code | code <site>.<env>
Example:
Clone the code from the my-site development environment., (*4)
terminus code my-site.dev
Learn more about Terminus and Terminus Plugins., (*5)
Installation:
To install this plugin using Terminus 3:, (*6)
terminus self:plugin:install terminus-plugin-project/terminus-code-plugin
On older versions of Terminus:, (*7)
mkdir -p ~/.terminus/plugins
composer create-project --no-dev -d ~/.terminus/plugins terminus-plugin-project/terminus-code-plugin
For help installing, see Manage Plugins., (*8)
mkdir -p ~/.terminus/plugins
composer create-project -d ~/.terminus/plugins terminus-plugin-project/terminus-code-plugin:~2
Configuration:
This plugin requires no configuration to use., (*9)
Testing:
export TERMINUS_SITE=my-site
cd ~/.terminus/plugins/terminus-code-plugin
composer install
composer test
Help:
Run terminus help code
for help., (*10)