Skip to content

A Bitbar plugin to open any Salesforce Org you've authorized with the Salesforce CLI.

Notifications You must be signed in to change notification settings

kacrouse/xbar-plugin-open-sf-org

Repository files navigation

Open Salesforce Org xbar Plugin

A xbar plugin to open any Salesforce Org you've authorized with the Salesforce CLI. Just click the org you want to open!

screenshot

Installation

  1. If you haven't already, install xbar.
  2. Download the latest version of the plugin from the releases tab (it's just a single JavaScript file) and place it in your xbar plugins folder.
  3. Make the plugin executable by running chmod +x {filename}.

If the Salesforce CLI (sfdx) is not installed, the plugin will not work.

For more info on installing plugins, see the xbar plugin documentation.

Configuration

The plugin requires no configuration to run, but the page an org opens to can be configured through a .bitbarrc file in your home directory.

To set the page for all orgs, add the following to the file:

[open_salesforce_org]
DEFAULT_PATH=/path/to/open/to

To set the page for individual orgs, add an open_salesforce_org.paths section, with a line for each org you want to customize. Orgs can be specified by alias or username.

[open_salesforce_org.paths]
myOrg@example.com=/path/to/open/to
myOtherOrgAlias=/other/path/to/open/to

The most specific configuration takes precedence, so if DEFAULT_PATH is set along with a value for an individual org, the value for the individual org will be used.

About

A Bitbar plugin to open any Salesforce Org you've authorized with the Salesforce CLI.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published