mattolenik / hclq

Command-line processor for HashiCorp config files, like sed for HCL — Terraform, Consul, Nomad, Vault
https://hclq.sh
The Unlicense
252 stars 23 forks source link

Support listing higher level object keys #10

Open mattolenik opened 5 years ago

mattolenik commented 5 years ago

Given the following HCL:

data "foo" {
  //...
}
data "bar" {
  //...
}

The command hclq get keys 'data.*' would return ["foo", "bar"]