commands.sh

pants

all

Fast, scalable, user-friendly, open-source build and developer workflow tool.

More info →

Examples (7)

List all targets

pants list ::

Run all tests

Fix, format, and lint only uncommitted files

pants --changed-since=HEAD fix fmt lint

Typecheck only uncommitted files and their dependents

pants --changed-since=HEAD --changed-dependents=transitive check

Create a distributable package for the specified target

pants package path/to/directory:target-name

Auto-generate BUILD file targets for new source files

pants tailor ::

Display help

made by @shridhargupta | data from tldr-pages