kpetremann / salt-exporter

Salt Prometheus exporter working out of the box without any configuration on Salt side. Comes with an event watcher TUI.
https://kpetremann.github.io/salt-exporter/
MIT License
30 stars 8 forks source link

please add -version switch #45

Closed jacekjaros closed 1 year ago

jacekjaros commented 1 year ago

hi,

please add -version switch for now only option to determinate version is to run exporter (then version is print to output) which could be hard to use in eg. shell scripts.

thanks,

kpetremann commented 1 year ago

Hi @jacekjaros Sure I'll add it in the next release

kpetremann commented 1 year ago

done!

salt-exporter --version
Version: 0.8.0
Build date: 2023-07-19T20:43:22Z
Commit: fe1005a649f7db0f69353775f10deb811ee8e30e