Skip to content

feat: add getVersion() helper function#36

Open
haosenwang1018 wants to merge 1 commit intophilschmid:mainfrom
haosenwang1018:feat/add-version-helper
Open

feat: add getVersion() helper function#36
haosenwang1018 wants to merge 1 commit intophilschmid:mainfrom
haosenwang1018:feat/add-version-helper

Conversation

@haosenwang1018
Copy link

Summary

Add getVersion() helper function to format version string for CLI output.

Changes Made

  • Add JSDoc comments to VERSION constant with usage example
  • Add getVersion() helper function that returns "v" + VERSION
  • Improves code reusability for version display across CLI

Testing

  • No functional changes to existing code
  • New function can be used in future version output formatting

Checklist

  • Code follows project style
  • Documentation added (JSDoc)
  • Self-reviewed

Add getVersion() helper to format version string for CLI output.
Improves code reusability for version display.

Changes:
- Add JSDoc comments to VERSION constant
- Add getVersion() helper function
- Prevents version string duplication in CLI output
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.

1 participant