/hyper-ibmcloud-target

Hyper plugin that displays IBM Cloud targets as a status line

Primary LanguageJavaScriptMIT LicenseMIT

Hyper IBM Cloud Target

Hyper IBM Cloud Target is a status line plugin for Hyper.

  • Displays IBM Cloud CLI configured targets
  • Automatically fetches accounts, resource groups, orgs, and spaces when targets change
  • Select a target to run the corresponding CLI command

Target supports Hyper 2.1.0, which is not yet posted for download. Use the steps on the Hyper GitHub page to build Hyper. (It's easier than you'd think.)

(Shown with IBM Cloud theme)

Install

To install, edit ~/.hyper.js and add "hyper-ibmcloud-target" to the plugins list.

plugins: [
  "hyper-ibmcloud-target",
],

Configuration

To configure the plugin, add the following to your config property in ~/.hyper.js.

ibmcloud: {
  sso: true,
  ui: {
    bottom: "15px"
  }
}
  • sso: append the --sso flag to the plugin's login command
  • bottom: offset the plugin #px from the bottom of screen

Contributors

This project is forked from Hyperline. To also use Hyperline, adjust the ui.bottom property to move the Target plugin above Hyperline.