mirror of
https://github.com/prdlk/television.git
synced 2026-11-02 13:12:51 +00:00
30 lines
596 B
TOML
30 lines
596 B
TOML
[metadata]
|
|||
|
|
name = "brew-packages"
|
||
|
|
description = "List and manage Homebrew packages"
|
||
|
|
requirements = ["brew"]
|
||
|
|
|
||
|
|
[source]
|
||
|
|
command = [
|
||
|
|
{ name = "Formulae", run = "brew list --formula" },
|
||
|
|
{ name = "Casks", run = "brew list --cask" },
|
||
|
|
]
|
||
|
|
|
||
|
|
[preview]
|
||
|
|
command = "brew info '{}'"
|
||
|
|
|
||
|
|
[ui]
|
||
|
|
layout = "portrait"
|
||
|
|
|
||
|
|
[keybindings]
|
||
|
|
ctrl-u = "actions:upgrade"
|
||
|
|
ctrl-d = "actions:uninstall"
|
||
|
|
|
||
|
|
[actions.upgrade]
|
||
|
|
description = "Upgrade the selected package"
|
||
|
|
command = "brew upgrade {}"
|
||
|
|
mode = "execute"
|
||
|
|
|
||
|
|
[actions.uninstall]
|
||
|
|
description = "Uninstall the selected package"
|
||
|
|
command = "brew uninstall {}"
|
||
|
|
mode = "execute"
|