peek
documentation example output is outdated/incomplete
#20885
Milestone
peek
documentation example output is outdated/incomplete
#20885
Describe the bug
We have docs around the peek goal that include some example output: https://www.pantsbuild.org/2.20/docs/using-pants/project-introspection#peek---programmatically-inspect-a-target
This hasn't been updated for various changes (very easy to forget). For instance, running
PANTS_VERSION=2.20.1 pants peek helloworld/greet:tests
in https://github.com/pantsbuild/example-python gives:This has various differences:
sources
is now the actual file pathssource_fingerprint
is a hash of the abovesources_raw
is newIn 2.21, Running on a single file path has various new fields too, like
goals
.Pants version
2.20, 2.21
OS
macOS
Additional info
N/A
The text was updated successfully, but these errors were encountered: