Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 444 Bytes

File metadata and controls

27 lines (21 loc) · 444 Bytes
command version
summary Print the mdsmith build version and exit.

mdsmith version

mdsmith version

The version is set via -ldflags="-X main.version=..." at build time. When unset (e.g. go install or go run), the value falls back to the Go build-info Main.Version or (devel).

Examples

mdsmith version
# mdsmith v1.0.0

Exit codes

Code Meaning
0 Printed