diodechain / diode_client

Diode client written in GO that runs the Blockquick™ algorithm and a socks server to transmit data through diode ztna network.
https://diode.io/download
Other
66 stars 23 forks source link

Add -version switch #47

Closed dominicletz closed 3 years ago

dominicletz commented 4 years ago

I think a diode —version switch might be handy to check diode version, simple change but would be handy to quickly check the version thats running. /James

sc0Vu commented 3 years ago

I'd added version subcommand, now user can use $ diode version to retrieve version information.

eg:

$ ./diode version
[INFO] Diode Client version : v0.4.12-9-g155a22b-dirty 05 Oct 2020       
[INFO] GO version           : go1.15.2                                   
[INFO] Openssl version      : OpenSSL 1.1.1g  21 Apr 2020   
dominicletz commented 3 years ago

Added in 946262e