Skip to content

Tools reference


Tools

This is available as the Application.tools property.

bazel

bazel: Bazel

docker

docker: Docker

git

git: Git

go

go: Go

uv

uv: UV

Bazel

Example usage:

app.tools.bazel.run(["build", "//..."])

This automatically downloads the latest release of Bazelisk to an internal location if bazel nor bazelisk are already on PATH.

Docker

If docker is not on the PATH, this will try to use podman instead. Additionally, Docker CLI hints are disabled to have less verbosity and a more consistent experience across different Docker-compatible tools.

Example usage:

app.tools.docker.run(["build", ".", "--tag", "my-image"])

Go

This will automatically set the GOTOOLCHAIN environment variable to the proper version based on files in the current directory. The following files are considered, in order of precedence:

  • .go-version
  • go.mod
  • go.work

Example usage:

app.tools.go.run(["build", "."])

UV

This will use the UV executable that comes with dda.

Example usage:

app.tools.uv.run(["pip", "tree"])

This also makes modifying the installation of UV itself safe on Windows.