Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terminus-plugin-project/terminus-code-plugin
Code - A Terminus plugin to clone the code from any available Pantheon site environment to your local system.
https://github.com/terminus-plugin-project/terminus-code-plugin
code composer pantheon plugin terminus terminus-plugin
Last synced: about 2 months ago
JSON representation
Code - A Terminus plugin to clone the code from any available Pantheon site environment to your local system.
- Host: GitHub
- URL: https://github.com/terminus-plugin-project/terminus-code-plugin
- Owner: terminus-plugin-project
- License: mit
- Created: 2018-06-20T05:17:22.000Z (over 6 years ago)
- Default Branch: 2.x
- Last Pushed: 2023-02-13T22:28:31.000Z (almost 2 years ago)
- Last Synced: 2024-10-28T06:08:51.624Z (about 2 months ago)
- Topics: code, composer, pantheon, plugin, terminus, terminus-plugin
- Language: PHP
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terminus Code Plugin
Version 2.x
[![CircleCI](https://circleci.com/gh/terminus-plugin-project/terminus-code-plugin.svg?style=shield)](https://circleci.com/gh/terminus-plugin-project/terminus-code-plugin)
[![Terminus v2.x Compatible](https://img.shields.io/badge/terminus-v2.x-green.svg)](https://github.com/terminus-plugin-project/terminus-code-plugin/tree/2.x)
[![Terminus v1.x Compatible](https://img.shields.io/badge/terminus-v1.x-green.svg)](https://github.com/terminus-plugin-project/terminus-code-plugin/tree/1.x)
[![Terminus v0.x Compatible](https://img.shields.io/badge/terminus-v0.x-green.svg)](https://github.com/terminus-plugin-project/terminus-code-plugin/tree/0.x)Terminus plugin to clone the code from any available [Pantheon](https://www.pantheon.io) site environment to your local system.
## Usage:
```
$ terminus site:env:code | env:code | code .
```## Example:
Clone the code from the my-site development environment.
```
terminus code my-site.dev
```Learn more about [Terminus](https://pantheon.io/docs/terminus/) and [Terminus Plugins](https://pantheon.io/docs/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](https://pantheon.io/docs/terminus/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.