Display pop-up with Homebrew Formula info, or open their URL
Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/BrewInfo.spoon.zip
You can bind keys to automatically display the output of brew info of the currently-selected package name, or to open its
homepage. I use it to quickly explore new packages from the output
of brew update.
| Signature | BrewInfo.brew_info_delay_sec | 
|---|---|
| Type | Variable | 
| Description | An integer specifying how long the alerts generated by BrewInfo will stay onscreen | 
| Source | Source/BrewInfo.spoon/init.lua line 25 | 
| Signature | BrewInfo.brew_info_style | 
|---|---|
| Type | Variable | 
| Description | A table in conformance with the hs.alert.defaultStyle format that specifies the style used by the alerts. Default value:  | 
| Source | Source/BrewInfo.spoon/init.lua line 30 | 
| Signature | BrewInfo.select_text_if_needed | 
|---|---|
| Type | Variable | 
| Description | If  | 
| Source | Source/BrewInfo.spoon/init.lua line 39 | 
| Signature | BrewInfo.select_text_modifiers | 
|---|---|
| Type | Variable | 
| Description | Table containing the modifiers to be used together with a double-click when  | 
| Source | Source/BrewInfo.spoon/init.lua line 44 | 
| Signature | BrewInfo:bindHotkeys(mapping) | 
|---|---|
| Type | Method | 
| Description | Binds hotkeys for BrewInfo | 
| Parameters | 
 | 
| Returns | |
| Source | Source/BrewInfo.spoon/init.lua line 161 | 
| Signature | BrewInfo:openBrewURL(pkg, subcommand) | 
|---|---|
| Type | Method | 
| Description | Opens the homepage for package  | 
| Parameters | 
 | 
| Returns | 
 | 
| Source | Source/BrewInfo.spoon/init.lua line 121 | 
| Signature | BrewInfo:openBrewURLCurSel(subcommand) | 
|---|---|
| Type | Method | 
| Description | Opens the homepage for the currently-selected package, as obtained from the  | 
| Parameters | 
 | 
| Returns | 
 | 
| Source | Source/BrewInfo.spoon/init.lua line 148 | 
| Signature | BrewInfo:showBrewInfo(pkg, subcommand) | 
|---|---|
| Type | Method | 
| Description | Displays an alert with the output of  | 
| Parameters | 
 | 
| Returns | 
 | 
| Source | Source/BrewInfo.spoon/init.lua line 84 | 
| Signature | BrewInfo:showBrewInfoCurSel(subcommand) | 
|---|---|
| Type | Method | 
| Description | Display  | 
| Parameters | 
 | 
| Returns | 
 | 
| Source | Source/BrewInfo.spoon/init.lua line 108 |