show_target_info
Retrieve the BUILD rule definition for a Bazel target, including macro-generated rules that may differ from on-disk BUILD files.
Instructions
Show the BUILD rule definition for a target (bazel query --output=build).
Macro-generated targets may differ from on-disk BUILD files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |