Skip to content

Conversation

@dangazineu
Copy link
Collaborator

Adds a 'version' command to the CLI.
This command prints the binary's version information, which is embedded at build time via Go modules. It uses the 'runtime/debug' package to read the build info.

If the version cannot be determined, it prints an error to stderr and exits.

Resolves #29

Adds a 'version' command to the CLI.
This command prints the binary's version information, which is embedded
at build time via Go modules. It uses the 'runtime/debug' package to
read the build info.

If the version cannot be determined, it prints an error to stderr and
exits.
@dangazineu dangazineu merged commit beb759e into vybdev:main Jun 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a command to print the binary version

1 participant