Files

27 lines
542 B
TOML
Raw Permalink Normal View History

2026-10-14 13:32:59 -04:00
[metadata]
name = "pip-packages"
description = "List installed Python packages"
requirements = ["pip"]
[source]
command = "pip list --format=freeze 2>/dev/null | cut -d= -f1"
[preview]
command = "pip show '{}'"
[ui]
layout = "portrait"
[keybindings]
ctrl-u = "actions:upgrade"
ctrl-d = "actions:uninstall"
[actions.upgrade]
description = "Upgrade the selected package"
command = "pip install --upgrade {}"
mode = "execute"
[actions.uninstall]
description = "Uninstall the selected package"
command = "pip uninstall {}"
mode = "execute"