Perhaps the most useful command when starting out with the cf CLI is this:
$ cf help
This allows you to see the available CLI commands and understand their usage and syntax. The cf CLI enables you to control a wide range of commands that help you deploy and configure your applications on Cloud Foundry.
Since there are many cf CLI commands available, it can be a bit overwhelming to find the command you are really interested in at a given point. If you have it available on your system, you can find commands containing cf CLI keywords using grep
:
With the cf CLI, commands can have specific subcommands that you can ask for help on to get more information.
To see the cf CLI syntax for specific commands, add --help
or -h
after the command, as shown here:
Note
The official documentation for the cf CLI can be found at http://docs.cloudfoundry.org/cf-cli. It includes significant details on the various commands. Additionally, there is an...