2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-25 11:32:33 +00:00
bazel-lib/docs/jq.md
2021-12-14 17:59:52 -08:00

959 B
Executable file

Public API for jq

jq

jq(name, srcs, filter, args, out)

Invoke jq with a filter on a set of json input files.

For jq documentation, see https://stedolan.github.io/jq/.

PARAMETERS

Name Description Default Value
name Name of the rule none
srcs List of input json files none
filter mandatory jq filter specification (https://stedolan.github.io/jq/manual/#Basicfilters) none
args additional args to pass to jq []
out Name of the output json file; defaults to the rule name plus ".json" None