ovh / webpaas-cli

8 stars 1 forks source link

webpaas

webpaas is the CLI for the OVHcloud Web PaaS, powered by Platform.sh.

It is based on the Platform.sh CLI with a modified configuration file.

Installation

Run this command to install the CLI:

curl -sfS https://eu.cli.webpaas.ovhcloud.com/installer | php

In some Windows terminals you may need to type php.exe instead of php.

Usage

You can run the CLI in your shell by typing webpaas.

Use the 'list' command to get a list of available options and commands:

webpaas list

All commands have help, which you can see by running webpaas help [cmd] or webpaas [cmd] -h, e.g.:

webpaas projects -h

See the Platform.sh CLI README for more detailed usage information.

Customization

You can configure the CLI via the user configuration file ~/.webpaas-cli/config.yaml. The possible keys and their default values are listed in the Platform.sh CLI README.

Other customization is available via environment variables:

Updating

New releases of the CLI are made regularly. Update with this command:

webpaas up

Building from source

You may wish to download the source code manually, instead of relying on the pre-made build and the automated installer.

Clone this repository, and then run: ./build.sh webpaas.phar

This will build an executable file named webpaas.phar, which you can move into your PATH as webpaas.

Run webpaas self:install to complete the setup.