version
Print the Cannectors build version and Go runtime.
cannectors versionPrints the build version, the Git commit it was built from, the build date, and the Go runtime version. No flags, no side effects.
Example output
cannectors v0.1.0
commit: 9e3a2c1
built: 2026-04-21T12:30:00Z
runtime: go1.25.0 linux/amd64The exact format may evolve, but the first line — cannectors <version>
— is stable and CI-parseable.
CI usage
A common pattern is to print the version at the top of each CI step so log triage stays sane across binary upgrades:
cannectors version
cannectors validate pipeline.yaml
cannectors run --dry-run pipeline.yamlExit code
Always 0. The command takes no input that can fail.