terminus-plugin-project/terminus-code-plugin

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

2.1.0 2023-02-13 21:26 UTC

This package is auto-updated.

Last update: 2024-11-14 02:09:09 UTC


README

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.