Files
dotfiles/television/cable/rustup.toml
T

20 lines
493 B
TOML
Raw Normal View History

[metadata]
name = "rustup"
description = "Manage Rust toolchains"
requirements = ["rustup"]
[source]
command = "rustup toolchain list"
[preview]
command = "rustup run '{split: :0}' rustc --version --verbose 2>/dev/null"
[actions.default]
description = "Set the selected toolchain as default"
command = "rustup default '{split: :0}'"
mode = "execute"
[actions.uninstall]
description = "Uninstall the selected toolchain"
command = "rustup toolchain uninstall '{split: :0}'"
mode = "execute"