Version Command#
Display version and build information for the GeoServer CLI.
Usage#
| |
Output#
The command displays:
- Version: Semantic version number (e.g.,
v1.2.3) - Commit: Git commit hash used to build the binary
Example Output:
| |
Build Information#
Version and commit information are set at build time using Go linker flags:
| |
Use Cases#
Verify Installation#
Check that the CLI is installed and working:
| |
Debugging#
Include version information when reporting issues:
| |
CI/CD#
Use in scripts to verify CLI version:
| |
Development Builds#
Development builds show:
| |
This indicates the binary was built without version/commit information, typically during local development.