mirror of
https://github.com/prdlk/television.git
synced 2026-11-02 13:12:51 +00:00
23 lines
552 B
TOML
23 lines
552 B
TOML
[metadata]
|
|
name = "cargo-commands"
|
|
description = "List available cargo commands and extensions"
|
|
requirements = ["cargo"]
|
|
|
|
[source]
|
|
command = "cargo --list 2>/dev/null | tail -n +2 | awk '{print $1}'"
|
|
|
|
[preview]
|
|
command = "cargo {} --help 2>/dev/null | head -50"
|
|
|
|
[ui]
|
|
layout = "portrait"
|
|
preview_panel = { size = 60, border_type = "none", scrollbar = false, padding = { left = 2, right = 1, top = 0, bottom = 0 } }
|
|
|
|
[keybindings]
|
|
enter = "actions:run"
|
|
|
|
[actions.run]
|
|
description = "Run the selected cargo command"
|
|
command = "cargo {}"
|
|
mode = "execute"
|