Very Cool Update for the OpenWhisk CLI

This post is more than 2 years old.

I was a bit behind on updating my WSK cli (see details on how to do that here) and was incredibly happy to see an important update. It may not be critical for everyone, but it was certainly important to me.

First, you can browse commits to the CLI repo here - - and I recommend checking it out as there are a few other things interesting there as well.

The change I'm most interested in is pull 2326 - support for name sorting. Why is this a big deal? The default sort for wsk action list is by the last time the action was updated. To me, this is a bad default. Well, not bad, but not one I'd use by default. Instead, I'm often trying to find the name of an action. I'll know what the name is in general, but perhaps not precisely.

Did I call it randomComicBook or randomComic? Did I call it getTweets or getLatestTweets? By supporting the ability to sort by name, this becomes a lot easier for me now.

Compre this:


With this (using wsk action list --name-sort):

Not confusing

This is nice enough that I'm going to make an alias like wska or some such so I can get to it quicker.

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA