Documentation
Start here to use dx. There is no dx install step: dx runs through Bazel.
Install Bazel via Bazelisk (see .bazelversion), then follow the command and CI
guides below.
Commands
- Command reference: behavior of each
dxcommand. - Supported surface: labels and
.bzlfiles covered by the compatibility promise. - Scope defaults: labels, files, dirs, and
--here. - Build, test, coverage: build, test, run, deploy, coverage.
- Quality: lint, typecheck, format.
- Check, fix, clean: fix-up loops and cleanup.
- Generate: refresh
BUILDfiles. - Docs: build, check, and preview this site.
- Environment and codegen: env and codegen.
- Audit and update: security, license, update, bump, add.
- Init: set up a workspace.
- Status and version: health report and the version pin.
- List tests: list test targets.
- Completion: shell completions.
- Migrate: move to the current layout.
- New, upgrade, rollback: create modules and change the pin.
- Offline bundle: build a vendored bundle and install from it.
- Watch: rerun on file changes.
- Worktree: worktree slots.