This plugin allows you to connect to a Cloud Foundry service using your own command line client. By default, the plugin supports redis, mysql, mongodb, and postgresql.
gem install tunnel-cf-plugin
tunnel [INSTANCE] [CLIENT] Create a local tunnel to a service.
You can add support for other command-line clients by providing a ~/.cf/clients.yml
file with the following format:
service_name:
client_program_name: command line arguments
client_program_name_2:
command: command line arguments
environment:
- ENV_VAR_NAME=env_var_value