From e6b48bf14bc21be4abfb51dc81ba0e548e89f090 Mon Sep 17 00:00:00 2001 From: Jev Kuznetsov Date: Thu, 23 Apr 2026 11:08:40 +0200 Subject: [PATCH] feat: add uv_tools command to install Python tools using uv --- src/cli_tools/install.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/cli_tools/install.py b/src/cli_tools/install.py index 6dbfb5a..37b2365 100644 --- a/src/cli_tools/install.py +++ b/src/cli_tools/install.py @@ -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():