Skip to content
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

Adding id and slug search to CLI #106

Merged
merged 3 commits into from
Feb 23, 2024
Merged

Adding id and slug search to CLI #106

merged 3 commits into from
Feb 23, 2024

Conversation

CERLgit
Copy link
Contributor

@CERLgit CERLgit commented Feb 22, 2024

Attempt 3.
Decided to quickly add slug support as well since sending people to PGstats to grab ID seems a bit strange when the slug is easily found on start.gg profiles (they even copy when clicked).
Used using "smithe id <id>" or "smithe slug <slug>" respectively.
Output from each is identical to output of original player tag search command.

Screenshot_20240222_095619

Signed-off-by: Carlos R <[email protected]>
Copy link

codecov bot commented Feb 22, 2024

Codecov Report

Merging #106 (1a204df) into main (7f1864a) will decrease coverage by 0.10%.
The diff coverage is 0.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #106      +/-   ##
==========================================
- Coverage   14.94%   14.85%   -0.10%     
==========================================
  Files          24       24              
  Lines        1485     1494       +9     
==========================================
  Hits          222      222              
- Misses       1263     1272       +9     

@danbugs
Copy link
Owner

danbugs commented Feb 22, 2024

I mentioned this on Discord, but, again... Thank you for your contribution, @CERLgit ! It's genuinely really awesome to see ;D

Btw, don't worry about the codecov thing failing. I don't really care. I really just have it thre to ensure our test coverage doesn't go down tremendously.

Copy link
Owner

@danbugs danbugs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me - just one small requested change!

lib/src/player.rs Show resolved Hide resolved
@CERLgit CERLgit requested a review from danbugs February 22, 2024 23:25
Copy link
Owner

@danbugs danbugs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@danbugs danbugs merged commit 0052958 into danbugs:main Feb 23, 2024
6 of 8 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.

2 participants