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.2
PR Acceptance Criteria:
Add
--versionFlag to Display Binary VersionCurrent Behavior:
There is currently no straightforward way for users to check the installed version of the gitx binary.
Desired Behavior:
Add a
--versionflag 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 latesttagpushed in the master branch.Example usage:
PR Acceptance Criteria: