URL Scheme
The BitBar app registers the custom URL scheme bitbar://. The following paths are currently implemented:
openPluginto download and install pluginsrefreshPluginto refresh plugins
openPlugin
Query parameters:
srcSource URL
Examples: see test page
refreshPlugin
Query parameters:
nameFilename, allowing wildcards.?matches one character and*matches zero or more characters
This allows for refreshing from the command line using open, passing the URL.
For example by chaining it with a semicolon after a command when terminal=false can't be used (full example).
Example:
bitbar://refreshPlugin?name=brew-updates.*?.sh
Here *? was used to omit the time.