grafana-tools / grafana-backup

[ON HOLD] CLI tool for backup/restore Grafana dashboards and datasources.
GNU General Public License v3.0
28 stars 3 forks source link

Arguments have to occur after flags and cannot occur before #3

Open omadawn opened 6 years ago

omadawn commented 6 years ago

It would be convenient to be able to do: ./grafana-backup backup -key weorosdfwqir

As well as: ./grafana-backup -key wsldkfjaeworn backup

grafov commented 6 years ago

It is side effect due flag parsing realization. Of course it maybe treated as a bug but I suppose it is minor issue. Sure it is better to fix it for not confusing users.