-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
EASYThis bug/feature request is easy to work around.This bug/feature request is easy to work around.enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfestIssue is up for grabs for hacktoberfestIssue is up for grabs for hacktoberfestlanguage/goRequires the knowledge of "Go"Requires the knowledge of "Go"
Description
Add --version Flag to Display Binary Version
Current Behavior:
There is currently no straightforward way for users to check the installed version of the gitx binary.
Desired Behavior:
Add a --version flag that, when used, prints the current version of the application and then exits. This is a standard feature in command-line tools and improves usability. The version should be taken from the latest tag pushed in the master branch.
Example usage:
gitx --version
gitx version: 1.2.2PR Acceptance Criteria:
- Running gitx --version in the terminal should print the application's version number.
- The version number should be dynamically injected into the binary at build time to ensure accuracy.
- Attach a screenshot of the terminal output after running the gitx --version command.
Metadata
Metadata
Assignees
Labels
EASYThis bug/feature request is easy to work around.This bug/feature request is easy to work around.enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfestIssue is up for grabs for hacktoberfestIssue is up for grabs for hacktoberfestlanguage/goRequires the knowledge of "Go"Requires the knowledge of "Go"