NAME: /usr/local/cf/cf - A command line tool to interact with Cloud Foundry USAGE: [environment variables] /usr/local/cf/cf [global options] command [arguments...] [command options] VERSION: 6.5.1-4aaf45f-2014-08-27T20:43:35+00:00 BUILD TIME: 2014-09-02 19:28:52.420526049 +0200 CEST GETTING STARTED: login, l Log user in logout, lo Log user out passwd, pw Change user password target, t Set or view the targeted org or space api Set or view target api url auth Authenticate user non-interactively APPS: apps, a List all apps in the target space app Display health and status for app push, p Push a new app or sync changes to an existing app scale Change or view the instance count, disk space limit, and memory limit for an app delete, d Delete an app rename Rename an app start, st Start an app stop, sp Stop an app restart, rs Restart an app restage, rg Restage an app events Show recent app events files, f Print out a list of files in a directory or the contents of a specific file logs Tail or show recent logs for an app env, e Show all env variables for an app set-env, se Set an env variable for an app unset-env Remove an env variable stacks List all stacks (a stack is a pre-built file system, including an operating system, that can run apps) SERVICES: marketplace, m List available offerings in the marketplace services, s List all service instances in the target space service Show service instance info create-service, cs Create a service instance delete-service, ds Delete a service instance rename-service Rename a service instance bind-service, bs Bind a service instance to an app unbind-service, us Unbind a service instance from an app create-user-provided-service, cups Make a user-provided service instance available to cf apps update-user-provided-service, uups Update user-provided service instance name value pairs ORGS: orgs, o List all orgs org Show org info create-org, co Create an org delete-org Delete an org rename-org Rename an org SPACES: spaces List all spaces in an org space Show space info create-space Create a space delete-space Delete a space rename-space Rename a space DOMAINS: domains List domains in the target org create-domain Create a domain in an org for later use delete-domain Delete a domain create-shared-domain Create a domain that can be used by all orgs (admin-only) delete-shared-domain Delete a shared domain ROUTES: routes, r List all routes in the current space create-route Create a url route in a space for later use map-route Add a url route to an app unmap-route Remove a url route from an app delete-route Delete a route delete-orphaned-routes Delete all orphaned routes (e.g.: those that are not mapped to an app) BUILDPACKS: buildpacks List all buildpacks create-buildpack Create a buildpack update-buildpack Update a buildpack rename-buildpack Rename a buildpack delete-buildpack Delete a buildpack USER ADMIN: create-user Create a new user delete-user Delete a user org-users Show org users by role set-org-role Assign an org role to a user unset-org-role Remove an org role from a user space-users Show space users by role set-space-role Assign a space role to a user unset-space-role Remove a space role from a user ORG ADMIN: quotas List available usage quotas quota Show quota info set-quota Assign a quota to an org create-quota Define a new resource quota delete-quota Delete a quota update-quota Update an existing resource quota SPACE ADMIN: space-quota Show space quota info space-quotas List available space resource quotas create-space-quota Define a new space resource quota update-space-quota update an existing space quota delete-space-quota Delete a space quota definition and unassign the space quota from all spaces set-space-quota Assign a space quota definition to a space unset-space-quota Unassign a quota from a space SERVICE ADMIN: service-auth-tokens List service auth tokens create-service-auth-token Create a service auth token update-service-auth-token Update a service auth token delete-service-auth-token Delete a service auth token service-brokers List service brokers create-service-broker Create a service broker update-service-broker Update a service broker delete-service-broker Delete a service broker rename-service-broker Rename a service broker migrate-service-instances Migrate service instances from one service plan to another purge-service-offering Recursively remove a service and child objects from Cloud Foundry database without making requests to a service broker service-access List service access settings enable-service-access Enable access to a service or service plan for one or all orgs disable-service-access Disable access to a service or service plan for one or all orgs SECURITY GROUP: security-group Show a single security group security-groups List all security groups create-security-group Create a security group update-security-group Update a security group delete-security-group Deletes a security group bind-security-group Bind a security group to a space unbind-security-group Unbind a security group from a space bind-staging-security-group Bind a security group to the list of security groups to be used for staging applications staging-security-groups List security groups in the staging set for applications unbind-staging-security-group Unbind a security group from the set of security groups for staging applications bind-running-security-group Bind a security group to the list of security groups to be used for running applications running-security-groups List security groups in the set of security groups for running applications unbind-running-security-group Unbind a security group from the set of security groups for running applications ADVANCED: curl Executes a raw request, content-type set to application/json by default config write default values to the config ENVIRONMENT VARIABLES CF_COLOR=false Do not colorize output CF_HOME=path/to/dir/ Override path to default config directory CF_STAGING_TIMEOUT=15 Max wait time for buildpack staging, in minutes CF_STARTUP_TIMEOUT=5 Max wait time for app instance startup, in minutes CF_TRACE=true Print API request diagnostics to stdout CF_TRACE=path/to/trace.log Append API request diagnostics to a log file HTTP_PROXY=proxy.example.com:8080 Enable HTTP proxying for API requests GLOBAL OPTIONS --version, -v Print the version --help, -h Show help