February 25, 2016 | Written by: Bo Yang
Categorized: Community | Compute Services
Share this post:
We are pleased to announce that the Bluemix CLI (Command Line Interface) v0.3.0 is now generally available for download. The Bluemix CLI provides a unified way for you to interact with Bluemix, with extended capabilities than community CLIs to manage your applications, containers, virtual servers and services.
Unified command line experience
Bluemix CLI provides a unified way when you interact with your applications, virtual servers and containers through a command line interface. A shard Bluemix context, including region, organization, spaces and tokens, enables you to easily navigate across compute types.
Bluemix CLI is not duplicating the command line tools from Cloud Foundry, Docker and Openstack community, but leveraging them when you interact with specific compute types. You can still use the syntax you are familiar with to manage your Cloud Foundry applications, Docker containers and OpenStack virtual servers. Bluemix CLI helps you handle the environment settings when these community tools are used.
The commands in Bluemix CLI are well organized by name spaces. This provides a good structure to overview the commands. If you are using bash or zsh, the auto completion feature in Bluemix CLI provides you the suggestions when you type the commands. All those make it easier for you to find and use the right commands.
More features to interact with Bluemix
Besides the functionalities that community CLIs provide, Bluemix CLI gives more features as below when you interact with Bluemix.
- List all your applications, containers and virtual machines as a whole
- Deal with Bluemix regions
- View Bluemix templates and create app from a template
- Manage the group, volume, IP, namespace and route of your containers
- Initiate the OpenStack client (aka OSC) environment to interact with Bluemix virtual machines
- Manage the SSL certificate of your custom domain
All these capability gives you an alternative way to interact with Bluemix other than the Web Console. By using command lines, you can also integrate with your scripts to automate the interaction with Bluemix.
Plugins for extended capabilities
Bluemix CLI has extension framework so that plugins can be downloaded and installed separately to extend your CLI capability. A plugin repository is provided to host all these plugins so that you can either go directly to the web page to find, download the plugins and then install locally, or just use Bluemix CLI commands to download and the plugins.
Now we have two plugins available for you:
- Auto-Scaling: A plugin to manage the policies and retrieve histories of your Bluemix Auto-Scaling service
- Network Security Group:A beta plugin to manage the security group of your virtual machines
There will be more plugins coming soon.
Get Started Today
Go to Bluemix CLI homepage to get started with Bluemix CLI, and explore how to use it and install plugins. More information and documents are available at “CLI and Dev Tools” page of Bluemix documentation.