GithubHelp home page GithubHelp logo

isabella232 / pantheon-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xwp/pantheon-cli

0.0 0.0 0.0 2.17 MB

The Pantheon CLI — aka Terminus — a standalone utility for performing operations on the Pantheon Platform

Home Page: https://pantheon.io

License: Other

PHP 94.08% Shell 4.30% Batchfile 0.01% HTML 0.10% Gherkin 1.51%

pantheon-cli's Introduction

Pantheon CLI

Build Status Dependency Status

The Pantheon Command Line Interface is a successor to the "Terminus" project, which provides access to the Pantheon Platform via Drush. While Terminus has provided great value (and we're going to keep the name in the product,) we felt that it was important to have a first-class standalone CLI toolkit:

  • That we could distribute as an independent executable.
  • Which could "wrap" other commands that run on the platform.

If you would like to contribute, pull requests are welcome!

Installation

For more advanced installation instructions, please see the installation page of our Wiki.

Requirements:

Installing Terminus is simple. Ensure that your system has and can run the required software above and run this in your favorite terminal client:

curl https://github.com/pantheon-systems/cli/releases/download/0.5.5/terminus.phar -L -o /usr/local/bin/terminus && chmod +x /usr/local/bin/terminus

To get started with Terminus, you must first authenticate:

terminus auth login
Your email address?: [email protected]
Your dashboard password (input will not be shown):
Logging in as [email protected]
Success!

Development

To use Terminus HEAD, you should clone this repository and run Terminus directly. Be sure you have the dependencies below installed.

Requirements:

  1. Clone the repository. If you plan on contributing to the project, create a fork and clone the fork instead.
cd $HOME
git clone https://github.com/pantheon-systems/cli.git pantheon-cli

Or replace $HOME with the directory to which you would like to install.

  1. Install the Composer dependencies.
cd pantheon-cli
composer install

You can now run the bleeding-edge version of Terminus via:

bin/terminus

Optionally, for ease of development, we suggest aliasing or setting the path to this script in your Bash configuration file. This file is located at ~/.bashrc on Linux and ~/.bash_profile on Mac.

alias terminus="$HOME/pantheon-cli/bin/terminus"

or

export PATH="$PATH:$HOME/pantheon-cli/bin"

Once you source the file or restart your terminal client, you can now make use of Terminus using

terminus

Support

Please make ready the steps to reproduce the issue, outputs, pertinent information about your system, and what you believe the correct reaction of the system ought to be. Reporting of issues encountered should happen in one of two ways:

If yours is a problem with Terminus itself:

  1. Search Terminus' issues on GitHub to see whether another user has reported the same issue you are experiencing.
  2. If the problem you are experiencing is not in the issues, you can open a new issue. Please include the helpful information you have gathered.
  3. If you find your problem in an issue, feel free to add your issue information in the comments and/or subscribe to the issue's notifications.

If the problem is with the Pantheon platform:

Head over to your support tickets in the Pantheon Dashboard and submit a new issue ticket. Please include the helpful information you have gathered.

Contributions

Here are steps to follow if you would like to contribute to Terminus:

  1. Fork the repository.
  2. Add your changes. Please add tests as necessary. You can check your syntax for coherence to our standards by running
cd $HOME/pantheon-cli
./scripts/lint.sh

And run your tests via:

cd $HOME/pantheon-cli
./scripts/tests.sh
  1. Open a pull request on GitHub so that we may evaluate and merge your changes.

Credits

  • We have leaned heavily on the work of wp-cli in architecting this command line utility with an object-oriented structure.
  • We've also (obviously) been greatly inspired by Drush.

Further Reading

pantheon-cli's People

Contributors

mikevanwinkle avatar bensheldon avatar tesladethray avatar elliotfriend avatar erik-pantheon avatar jcandan avatar stovak avatar calevans avatar hugovk avatar nstielau avatar westonruter avatar hengkit avatar ari-gold avatar danielbachhuber avatar honzi avatar jlicht avatar jonathanporta avatar vincenzo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.