Reviewed on: 2019-07-22
iquery is a command line tool for discovering and retrieving inspect data exposed by components. More can be read about iquery here.
This project can be added to builds by including --with //src/diagnostics/iquery to the fx set invocation.
Documentation on using iquery is available here.
Tests for iquery are available in the iquery_golden_test package:
$ fx run-test iquery_golden_test
The entrypoint is located in main.rs, with the rest of the implementation living in top-level .rs files. Tests are located in the testing/ directory.