📄️ 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.
📄️ export-codegen
Write generated files to `dist/codegen` for use outside of Pants.
📄️ filedeps
List all source and BUILD files a target depends on.
📄️ filter
Filter the input targets based on various criteria.
📄️ fmt
Autoformat source code.
📄️ generate-lockfiles
Generate lockfiles for Python third-party dependencies.
📄️ generate-user-lockfile
Generate a lockfile for Python user requirements (experimental).
📄️ lint
Run all linters and/or formatters in check mode.
📄️ list
Lists all targets matching the file or target arguments.
📄️ package
Create a distributable package.
📄️ peek
Display BUILD target info
📄️ py-constraints
Determine what Python interpreter constraints are used by files/targets.
📄️ repl
Open a REPL with the specified code loadable.
📄️ roots
List the repo's registered source roots.
📄️ run
Runs a binary target.
📄️ tailor
Auto-generate BUILD file targets for new source files.
📄️ test
Run tests.
📄️ typecheck
Run type checkers.
📄️ validate
Validate sources against regexes.