Skip to content

CLI: add -v/--version flag to print the version number#128

Merged
LumePart merged 1 commit intoLumePart:devfrom
arunoruto:dev
May 5, 2026
Merged

CLI: add -v/--version flag to print the version number#128
LumePart merged 1 commit intoLumePart:devfrom
arunoruto:dev

Conversation

@arunoruto
Copy link
Copy Markdown
Contributor

Add a -v/--version flag that prints the binary version and exits.
The version defaults to "dev" and is injected at build time via ldflags (-X explo/src/config.Version).
The Dockerfile and release workflow both pass the version through during builds.

This should resolve #39 partially.

Add a -v/--version flag that prints the binary version and exits. The
version defaults to "dev" and is injected at build time via ldflags (-X
explo/src/config.Version). The Dockerfile and release workflow both pass
the version through during builds.
@LumePart
Copy link
Copy Markdown
Owner

LumePart commented May 5, 2026

Thanks for the PR!

@LumePart LumePart merged commit 45458f2 into LumePart:dev May 5, 2026
3 of 4 checks 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.

Can't build on nixos

2 participants