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

refactor: move common args of run in struct CommonArgs #109

Merged
merged 2 commits into from
Nov 25, 2023
Merged

refactor: move common args of run in struct CommonArgs #109

merged 2 commits into from
Nov 25, 2023

Conversation

wangl-cc
Copy link
Member

There are some common args in run and related subcommands fight or coming copilot, so move them in a struct CommonArgs to avoid repeating.

There are some common args in `run` and related subcommands `fight`
or coming `copilot`, so move them in a struct `CommonArgs` to avoid
repeating.
Copy link

codecov bot commented Nov 25, 2023

Codecov Report

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

Comparison is base (430e65b) 25.68% compared to head (3af48e2) 25.80%.

Files Patch % Lines
maa-cli/src/run/mod.rs 0.00% 7 Missing ⚠️
maa-cli/src/main.rs 0.00% 3 Missing ⚠️
maa-cli/src/run/fight.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #109      +/-   ##
==========================================
+ Coverage   25.68%   25.80%   +0.12%     
==========================================
  Files          21       21              
  Lines        1616     1608       -8     
==========================================
  Hits          415      415              
+ Misses       1201     1193       -8     

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

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