terminus-plugin-project / terminus-code-plugin
Code - A Terminus plugin to clone the code from any available Pantheon site environment to your local system.
Installs: 106
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 1
Open Issues: 1
Type:terminus-plugin
Requires
- php: ^5.5 || ^7.0 || ^8.0
Requires (Dev)
README
Version 2.x
Terminus plugin to clone the code from any available Pantheon site environment to your local system.
Usage:
$ terminus site:env:code | env:code | code <site>.<env>
Example:
Clone the code from the my-site development environment.
terminus code my-site.dev
Learn more about Terminus and Terminus Plugins.
Installation:
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
Configuration:
This plugin requires no configuration to use.
Testing:
export TERMINUS_SITE=my-site
cd ~/.terminus/plugins/terminus-code-plugin
composer install
composer test
Help:
Run terminus help code
for help.