feat: add uv_tools command to install Python tools using uv

This commit is contained in:
Jev Kuznetsov
2026-04-23 11:08:40 +02:00
parent b324ce9e98
commit e6b48bf14b
+11
View File
@@ -23,12 +23,18 @@ APT_PACKAGES = [
"btop",
]
PYTHON_TOOLS = [
"cruft",
"invoke",
]
@app.command()
def core():
"""Install essential tools."""
apt_packages()
docker()
uv()
uv_tools()
fzf()
zoxide()
lazygit()
@@ -80,6 +86,11 @@ def uv():
"""Install uv for the current user."""
run("test -f ~/.local/bin/uv || curl -LsSf https://astral.sh/uv/install.sh | sh")
@app.command()
def uv_tools():
"""Install Python tools using uv."""
for tool in PYTHON_TOOLS:
run(f"uv tool install --force {tool}")
@app.command()
def ccusage():