Struo
← Changelog

Inspect the final graph from a build

struo --format json build <target> --graph-inventory includes concrete target IDs, kinds, and direct dependencies from the same build invocation. It works with definitions produced by uncached actions without making them replayable. Incomplete graphs fail the inventory request instead of reporting promises or partial results as complete. Ordinary build output is unchanged.

Add --graph-inventory-srcs for source paths and repeat --graph-inventory-attr KEY for selected typed attributes from the same snapshot. Unselected fields and absent attribute keys stay omitted.