tailcallhq / tailcall

High Performance GraphQL Runtime
https://tailcall.run
Apache License 2.0
1.18k stars 209 forks source link

refactor: split `tc.rs` for each command #2286

Closed beelchester closed 2 days ago

beelchester commented 5 days ago

Summary:
Refactor tc.rs into a module and create separate files for the commands.

Issue Reference(s):
Fixes #2281 /claim #2281

Build & Testing:

Checklist:

algora-pbc[bot] commented 5 days ago

💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe/Alipay.

codecov[bot] commented 5 days ago

Codecov Report

Attention: Patch coverage is 0% with 170 lines in your changes missing coverage. Please review.

Project coverage is 85.70%. Comparing base (fadea96) to head (3d013c9).

Files Patch % Lines
src/cli/tc/init.rs 0.00% 69 Missing :warning:
src/cli/tc/run.rs 0.00% 34 Missing :warning:
src/cli/tc/check.rs 0.00% 26 Missing :warning:
src/cli/tc/helpers.rs 0.00% 24 Missing :warning:
src/cli/tc/start.rs 0.00% 11 Missing :warning:
src/cli/tc/gen.rs 0.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2286 +/- ## ========================================== - Coverage 85.79% 85.70% -0.09% ========================================== Files 227 232 +5 Lines 21957 21979 +22 ========================================== Hits 18837 18837 - Misses 3120 3142 +22 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.