cf Command Examples

Manage apps and services on Cloud Foundry. More information: https://docs.cloudfoundry.org.

cf login -a {{api_url}}

cf push {{app_name}}

cf marketplace

cf create-service {{service}} {{plan}} {{service_name}}

cf bind-service {{app_name}} {{service_name}}

cf run-task {{app_name}} "{{script_command}}" --name {{task_name}}

cf ssh {{app_name}}

cf logs {{app_name}} --recent