/ dot_config / television / cable / brew-packages.toml
brew-packages.toml
 1  [metadata]
 2  name = "brew-packages"
 3  description = "List and manage Homebrew packages"
 4  requirements = ["brew"]
 5  
 6  [source]
 7  command = ["brew list --formula", "brew list --cask"]
 8  
 9  [preview]
10  command = "brew info '{}'"
11  
12  [ui]
13  layout = "portrait"
14  
15  [keybindings]
16  ctrl-u = "actions:upgrade"
17  ctrl-d = "actions:uninstall"
18  
19  [actions.upgrade]
20  description = "Upgrade the selected package"
21  command = "brew upgrade '{}'"
22  mode = "execute"
23  
24  [actions.uninstall]
25  description = "Uninstall the selected package"
26  command = "brew uninstall '{}'"
27  mode = "execute"