Skip to content

Code - A Terminus plugin to clone the code from any available Pantheon site environment to your local system.

License

Notifications You must be signed in to change notification settings

terminus-plugin-project/terminus-code-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminus Code Plugin

Version 2.x

CircleCI Terminus v2.x Compatible Terminus v1.x Compatible Terminus v0.x Compatible

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.

About

Code - A Terminus plugin to clone the code from any available Pantheon site environment to your local system.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published