polyscan version¶
Prints version information.
Flags¶
| Flag | Short | Default | Description |
|---|---|---|---|
--verbose |
-v |
false |
Also print the commit, build date, and builder |
Official release builds inject the version tag, commit hash, build timestamp in UTC, and by: release.
A binary you compiled yourself using bare go build reports placeholder values (dev, commit unknown, built unknown, by source). Building via make sets by: make and local git metadata.
The root flag¶
polyscan --version prints the same short string as polyscan version and exists because Cobra provides it automatically.