Skip to content

Hyper plugin that displays IBM Cloud targets as a status line

License

Notifications You must be signed in to change notification settings

van-ibm/hyper-ibmcloud-target

Repository files navigation

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.

About

Hyper plugin that displays IBM Cloud targets as a status line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published