/terminus-plugin-example

A simple plugin for Terminus to demonstrate how to add new commands

Primary LanguagePHPMIT LicenseMIT

Terminus Plugin Example

Terminus v1.x Compatible Terminus v0.x Compatible

A simple plugin for Terminus-CLI to demonstrate how to add new commands.

Adds commands 'hello' and 'auth:hello' to Terminus 1.x. For a version that works with Terminus 0.x, see the 0.x branch.

Learn more about Terminus and Terminus Plugins at: https://github.com/pantheon-systems/cli/wiki/Plugins

Configuration

These commands require no configuration

Usage

  • terminus hello
  • terminus auth:hello

Installation

To install this plugin place it in ~/.terminus/plugins/.

On Mac OS/Linux:

mkdir -p ~/.terminus/plugins
curl https://github.com/pantheon-systems/terminus-plugin-example/archive/1.x.tar.gz -L | tar -C ~/.terminus/plugins -xvz

Help

Run terminus help auth:hello for help.