Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.42 KB

README.md

File metadata and controls

58 lines (39 loc) · 1.42 KB

ibmcloud CLI Plugin for Kui

This directory offers Kui as a plugin to the ibmcloud CLI.

Prebuilt Binaries

You may use a precompiled binary. Pick one of the following three commands, based on your platform:

ibmcloud plugin install https://github.com/IBM/kui/releases/latest/download/kui-ibmcloud-plugin-darwin-amd64
ibmcloud plugin install https://github.com/IBM/kui/releases/latest/download/kui-ibmcloud-plugin-linux-amd64
ibmcloud plugin install https://github.com/IBM/kui/releases/latest/download/kui-ibmcloud-plugin-windows-amd64

Then, you can use Kui via commands such as ibmcloud kui kubectl get pods. After an initial one-time download (of the Kui UI component), you should see a window pop up.

Usage

For example:

ibmcloud kui kubectl get pods

Building the Plugin Yourself

If you wish to develop the plugin, first download and install the Bluemix CLI. See instructions here.

The plugin is written in go, and depends on go 1.12+. To compile the plugin, you may leverage the Makefile:

$ make

This should produce a binary kui-ibmcloud-plugin. You may then install the plugin:

$ make install

To run unit tests:

$ make test

Building for multiple platforms

If you wish to build for all supported Electron platforms, you may leverage the

$ make build_all