How to Install Cloud Foundry CLI Plug-ins

by Volha KurylionakJune 11, 2015
This video overviews the user experience of adding new commands to the Cloud Foundry command line interface using CLI plug-ins.
Why read this?
FOR A DEVOPS PRO

Plug-ins make it possible to easily add new features to the Cloud Foundry CLI, e.g., enable Diego-specific commands, roll traffic from one app to another by scaling over time, etc. The video below goes over the steps for installing and configuring CLI plug-ins for Cloud Foundry.

FOR A DEVELOPER

There are a number of open source CLI plug-ins available from the CF community, but you can also build your own to get custom commands and capabilities. Watch the video to learn what functionality can be enabled with CLI plug-ins and how to use them.

Customizing your Cloud Foundry CLI

As of June 2015, there were about 15 CLI plug-ins available in the CF community repository. This video from Cloud Foundry’s official YouTube account explains how to add new commands to the CF command line interface using CLI plug-ins. See the Cloud Foundry documentation for more information or read this blog post by Dr. Nic for detailed instructions on how to successfully install CF CLI plug-ins.

If you would like to contribute your own plug-in to the Cloud Foundry CLI Plug-in Repository, refer to this page.

(Note: If anyone knows the author of the video, please let us know.)

Altoros Take

Cloud Foundry CLI plug-ins are great for adding new powerful features to your PaaS. They can be used to add various functionality, e.g. a possibility to interact with Service Broker for Apache Brooklyn, launch Kibana, view all buildpacks in the current CLI target context, etc.

It is also possible to make custom plug-ins tailored your particular needs. The required steps are described in the Cloud Foundry documentation and here are some examples of CLI plug-ins submitted by the community.

The power of the plug-in writ large here. Development by the community in this area will be one of the killer reasons that Cloud Foundry ultimately prevails, or not if it fails to do so.

 

Want details? Watch the video!

Table of contents
  1. What are CF CLI plug-ins and what do they do? (0:05)
  2. What capabilities can be added through CLI plug-ins? (0:19)
  3. How to install a CF CLI plug-in? (0:52)
  4. Where is CLI plug-in configuration stored? (1:04)
  5. Checking out the new commands (1:23)
  6. What are the current limitations of CLI plug-in commands? (1:56)
  7. Installing a plug-in to add commands that can take arguments (2:13)

 

  •  
  •  
  •