Generate Terraform files from Grafana JSON dashboard for gdashboard provider.
Usage: gdashboard-cli generate [--input <string>] [--dashboard-id <string>] [--group-by-sections] <The path to an output directory>
Generate Terraform files from a Grafana dashboard
Options and flags:
--help
Display this help text.
--input <string>
A path to the file with the JSON of a Grafana dashboard
--dashboard-id <string>
An ID of the Grafana dashboard (https://grafana.com/grafana/dashboards)
--group-by-sections
Whether to group files by dashboard sections or not
$ sbt generateNativeBinary
$ gdashboard-cli generate --input ./input.json ./output
$ gdashboard-cli generate --dashboard-id 123 ./output