blob: bf648fc8845189c916b77c42620c9772c6972922 [file] [log] [blame]
Usage: %{product} %{command} <options> <query-expression>
Executes a query language expression over a specified subgraph of the
build dependency graph.
For example, to show all C++ test rules in the strings package, use:
% %{product} query 'kind("cc_.*test", strings:*)'
or to find all dependencies of //path/to/package:target, use:
% %{product} query 'deps(//path/to/package:target)'
or to find a dependency path between //path/to/package:target and //dependency:
% %{product} query 'somepath(//path/to/package:target, //dependency)'
%{options}