iquery

Reviewed on: 2022-07-31

iquery is a command line tool for discovering and retrieving inspect data exposed by components. More can be read about iquery here.

Building

To add this project to your build, append --args='dev_bootfs_labels=["//src/diagnostics/iquery"]' to the fx set invocation.

Running

Documentation on using iquery is available here.

Testing

Tests for iquery are available in the iquery_tests package:

$ fx test iquery_tests

Source layout

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.