version — Show Build Version¶
version prints the build version of go-testgen.
Syntax¶
Example¶
Output:
Flags¶
| Flag | Default | Description |
|---|---|---|
-s, --simple |
false | Print only the version string (script-friendly). |
Simple Output¶
Output:
Use -s in scripts or CI pipelines where only the version string is needed.