Skip to content

feat: add -v flag to display version #1061

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

feat: add -v flag to display version #1061

wants to merge 2 commits into from

Conversation

xl4624
Copy link
Contributor

@xl4624 xl4624 commented Nov 29, 2023

PR Checklist

Overview

I was browsing the list of issues labeled good first issue and saw that issue #704 had its attached PR closed. The version feature has basically already been implemented, but this just adds the flag to display the version.

🧢

Copy link

codecov bot commented Nov 29, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (7f1e5fc) 94.20% compared to head (dc302e8) 94.15%.

Files Patch % Lines
src/bin/index.ts 70.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1061      +/-   ##
==========================================
- Coverage   94.20%   94.15%   -0.05%     
==========================================
  Files          96       96              
  Lines        5553     5560       +7     
  Branches      446      447       +1     
==========================================
+ Hits         5231     5235       +4     
- Misses        321      324       +3     
  Partials        1        1              
Flag Coverage Δ
create 70.59% <50.00%> (-0.04%) ⬇️
initialize 41.76% <50.00%> (+<0.01%) ⬆️
migrate 69.76% <50.00%> (-0.04%) ⬇️
unit 71.97% <50.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@xl4624 xl4624 closed this Nov 30, 2023
@xl4624
Copy link
Contributor Author

xl4624 commented Nov 30, 2023

Oops, forgot to create another branch for my changes

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.

🚀 Feature: Add a --version CLI option
1 participant