hq
hq
is a command-line HCL processor.
install
This will install an hq
binary on your system:
$ cargo install hq-rs
usage
Here is an example HCL file:
some_attr = {
foo = [1, 2]
bar = true
}
some_block "some_block_label" {
attr = "value"
}
You can query the attribute(s) and block(s) in an HCL file like so:
|
{
}
|
[
|
|