This directory offers Kui as a plugin to the ibmcloud
CLI.
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.
For example:
ibmcloud kui kubectl get pods
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
If you wish to build for all supported Electron platforms, you may leverage the
$ make build_all