cache pants setup sets up a remote cache for Pantsbuild and generates a pants.toml to use it.
Learn more about Pantsbuild caching →
Usage
Example
The following example creates a remote cache and uses it during a Pantsbuild invocation.1
Configure the remote cache
Generate a Pants configuration for the remote cache:
2
Run tests
Use the generated configuration during a Pants invocation: