Skip to content

Resolve "Provide version information"

Ant Zucaro requested to merge 53-provide-version-information into master

Add a version sub-command so we can tell which commit hash the current binary is running. This is done through -ldflags at build time.

Example output:

$ ./xonstat version
Using config file: /home/ant/.xonstat.toml
XonStat version: 48be83cd950fe7ee07e753e9bf73c5d2297c22c9, built on 2023-07-29T11:53:34-0400

Closes #53 (closed)

Edited by Ant Zucaro

Merge request reports