mirror of
https://github.com/prdlk/television.git
synced 2026-11-02 13:12:51 +00:00
Import from root chezmoi source
This commit is contained in:
commit
c8c8c9a000
77 files changed
+2443
No files matched your search
@@ -0,0 +1,17 @@
|
||||
[metadata]
|
||||
name = "cargo-crates"
|
||||
description = "List installed cargo crates"
|
||||
requirements = ["cargo"]
|
||||
|
||||
[source]
|
||||
command = "cargo install --list 2>/dev/null | grep -v '^ ' | sed 's/:$//'"
|
||||
display = "{split: :0} {split: :1}"
|
||||
output = "{split: :0}"
|
||||
|
||||
[preview]
|
||||
command = "cargo install --list 2>/dev/null | sed -n '/^{split: :0} /,/^[^ ]/p' | head -20"
|
||||
|
||||
[actions.uninstall]
|
||||
description = "Uninstall the selected crate"
|
||||
command = "cargo uninstall '{split: :0}'"
|
||||
mode = "execute"
|
||||
Reference in new issue
Block a user