📄️ check
Run type checking or the lightest variant of compilation available for a language.
📄️ complete
Generates a completion script for the specified shell. The script is printed to stdout.
📄️ count-loc
Count lines of code.
📄️ dependees
List all targets that depend on any of the input files/targets.
📄️ dependencies
List the dependencies of the input files/targets.
📄️ dependents
List all targets that depend on any of the input files/targets.
📄️ experimental-bsp
Setup repository for Build Server Protocol (https://build-server-protocol.github.io/).
📄️ experimental-deploy
Perform a deployment process.
📄️ experimental-explorer
Run the Pants Explorer Web UI server.
📄️ export-codegen
Write generated files to `dist/codegen` for use outside of Pants.
📄️ export
Export Pants data for use in other tools, such as IDEs.
📄️ filedeps
List all source and BUILD files a target depends on.
📄️ fix
Autofix source code.
📄️ fmt
Autoformat source code.
📄️ generate-lockfiles
Generate lockfiles for third-party dependencies.
📄️ generate-snapshots
Generate test snapshots.
📄️ go-dump-import-path-mapping
Dump import paths mapped to package addresses.
📄️ go-export-cgo-codegen
Export files generated by Cgo.
📄️ go-generate
Run each command in a package described by a `//go:generate` directive. This is equivalent to running `go generate` on a Go package.
📄️ go-show-package-analysis
Show the package analysis for Go package targets.
📄️ help-advanced
Help for advanced options.
📄️ help-all
Print a JSON object containing all help info.
📄️ help
Display usage message.
📄️ java-dump-source-analysis
Dump source analysis for java_source[s] targets.
📄️ jvm-symbol-map
Dump the JVM dependency inference symbol mapping.
📄️ kotlin-dump-source-analysis
Dump source analysis for kotlin_source targets.
📄️ lint
Run linters/formatters/fixers in check mode.
📄️ list
Lists all targets matching the file or target arguments.
📄️ migrate-call-by-name
Migrate from `Get` syntax to call-by-name syntax (#19730). This is a **destructive** operation, so only run this on source controlled files that you are prepared to revert if necessary.
📄️ package
Create a distributable package.
📄️ paths
List the paths between two addresses. Either address may represent a group of targets, e.g. `--from=src/app/main.py --to=src/library::`.
📄️ peek
Display BUILD target info
📄️ publish
Publish deliverables (assets, distributions, images, etc).
📄️ py-constraints
Determine what Python interpreter constraints are used by files/targets.
📄️ python-dump-source-analysis
Dump source analysis for python_source targets.
📄️ repl
Open a REPL with the specified code loadable.
📄️ roots
List the repo's registered source roots.
📄️ run
Runs a binary target.
📄️ scala-dump-source-analysis
Dump source analysis for scala_source targets.
📄️ tailor
Auto-generate BUILD file targets for new source files.
📄️ test
Run tests.
📄️ update-build-files
Format and fix safe deprecations in BUILD files.
📄️ version
Display Pants version.