How-tos

What’s included in the IBM Cloud Developer Tools CLI version 1.2.0

Share this post:

New features and fixes in version 1.2.0 of the IBM Cloud Developer Tools CLI.

Expedite Your IDT Use with Compound Commands

New in this release we have added compound commands support.  With compound commands you can sequentially execute multiple IDT commands with one line of instruction.  The syntax for this new feature is:

idt command1/command2/... --flag1 --flag2 ...

Commands are executed sequentially from left to right.  For example, if I want to build my application, execute my tests against it, and then interactively debug it, I would use this syntax from my application folder:

idt build/test/debug --debug --trace

The flags for all of the commands are included at the end of the instruction.  The order of the flags does not matter, compound commands will apply each flag only to those commands for which it is relevant.  In this case --debug is only applicable to build and is ignored for the other commands.  --trace however, is applied to all the commands since they all support this flag.

The commands for use with compound commands are:

build, debug, deploy, get-credentials, run, stop, test, and view.

Receive Once-Daily Helpful Messages

With this release, we have added the facility to send timely messages to IDT users.  These messages will only appear once per day as you work with your application and will be used to notify you of important events relevant to your use of IDT.

Enable command now Recognizes Python Django

The enable command is expanded to recognize a Python Django project as it does Flask, already.  This allows a simple use of bx dev enable in your existing Django project folder, without the need to further indicate the language of the project.

Deployment Options for View

The view command now provides a command line option for the type of deployment to view, allowing for use of the command without prompting.  As with deploy, the -t option takes buildpack for a Cloud Foundry deployment, or container for a Kubernetes deployment.

The view command options also now include --ibm-cluster.  This option is the same as with deploy, allowing you to choose which Kubernetes cluster in the IBM Cloud specifically the application was deployed to, that you now wish to view.

Exit Codes Returned for Commands

The IDT commands now return exit codes to indicate the success of execution.

Defect Fixes

There are a number of fixes, but a couple to draw your attention to:

In version 1.1.4 the debug command was not waiting for a debugger to attach to the debug port.  This is returned to the behavior prior to 1.1.4.

Swift projects without special characters in the name (for example: -) were not including the compiled executable in the run image built by IDT.  This is now corrected.

 

Start developing your cloud native applications with IBM Cloud Developer Tools CLI today!  Create a new project or enable an existing one and enjoy a streamlined developer experience to get your applications on the IBM Cloud.

Lead Developer, IBM Cloud Developer Tools CLI

More How-tos stories
December 7, 2018

Highly Available Applications with IBM Cloud Foundry

To properly deploy an application in a cloud environment and ensure maximum responsiveness, your app needs to be deployed in a certain (and easy) way that maximizes the chance of an instance always being ready to respond to a user request. This article will explain how to deploy your Cloud Foundry applications in the IBM Cloud such that you reach your target application availability.

Continue reading

December 5, 2018

Cloud Foundry Container-to-Container Networking

If you're like many developers who are deploying applications to Cloud Foundry, you probably don't think about networking too often. After all, as a PaaS, Cloud Foundry takes care of all the routing and connectivity for you. There is one feature, however, you might consider before writing your next app: container-to-container networking.

Continue reading

November 29, 2018

Mobile Foundation on IBM Cloud: Your Mobile App Security is Our Concern

Security features provided by Mobile Foundation on IBM Cloud simplify various aspects of Mobile security, enabling developers to build hack-proof apps. This post covers a list of critical security requirements that Mobile Foundation addresses.

Continue reading