feat: add uv_tools command to install Python tools using uv
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user