Beam-Connectivity / grafana-dashboard-manager

Import and export Grafana dashboards for backup and dynamic provisioning
MIT License
58 stars 12 forks source link

Unable to call from GitHub Actions with overwrite mode (missing overwrite parameter) #25

Open nvuillam opened 5 months ago

nvuillam commented 5 months ago

How can I force overwrite from CI job , as prompt is not available ?

Call:

grafana-dashboard-manager download --scheme https --host *** --destination . --overwrite true --token ***

Result:

usage: grafana-dashboard-manager [-h] {upload,download} ...
grafana-dashboard-manager: error: unrecognized arguments: --overwrite true

The only documented options are download and upload, the rest is in the examples. I saw overwrite config in the code but I didn't find a way to call it via CLI

See job: https://github.com/hardisgroupcom/sfdx-hardis/actions/runs/9254219518/job/25455533925?pr=611