ey-pro-cli

Command line interface for interacting with Engine Yard PRO. This gem is the spiritual successor to the engineyard gem.

Install

Install ey-pro-cli like any other ruby gem:

gem install ey-pro-cli

Login

If you do not have a ~/.ey-core file with a valid API token, you will need to run ey-pro login in order to retrieve your API token. This command will ask for your Engine Yard email and password.

Commands

ey login

Retrieve your Engine Yard API token

ey logout

Delete your Engine Yard API token from the configuration file. Useful for switching accounts

ey accounts

Retrieve a list of Engine Yard PRO accounts that you have access to.

ey environments

Retrieve a list of Engine Yard PRO environments that you have access to.

ey applications

Retrieve a list of Engine Yard PRO applications that you have access to.

ey deploy

Deploy your application to Engine Yard PRO.

Options:
  -e, --environment=ENVIRONMENT            # Name of the environment to deploy to.
  -c, [--account=ACCOUNT]                  # Name or ID of the account that the environment resides in.  If no account is specified, the app will deploy to the first environment that meets the criteria, in the accounts you have access to.
      [--ref=REF]                          # A git reference to deploy.
      [--migrate=MIGRATE]                  # The migration command to run.
  -a, --app=APP                            # Application name or ID to deploy.  If :account is not specified, this will be the first app that matches the criteria in the accounts you have access to.
      [--stream=STREAM]                    # Stream deploy output to console.  This option does not take an argument.
      [--no-migrate=NO-MIGRATE]            # Do not run migration command.  This option does not take an argument.
      [--no-update-check=NO-UPDATE-CHECK]  # Do not check for updates.