onflow / flow-cli

The Flow CLI is a command-line interface that provides useful utilities for building Flow applications
https://onflow.org
Apache License 2.0
206 stars 62 forks source link

Refactor generate logic, add disable logs, and disable from setup #1566

Closed chasefleming closed 1 month ago

chasefleming commented 1 month ago

Closes #1554


For contributor use:

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 59.78261% with 37 lines in your changes are missing coverage. Please review.

Project coverage is 39.32%. Comparing base (e4dfbc8) to head (857a483).

Files Patch % Lines
internal/super/generate.go 63.95% 24 Missing and 7 partials :warning:
internal/super/setup.go 0.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature/interactive-init #1566 +/- ## ============================================================ + Coverage 39.09% 39.32% +0.23% ============================================================ Files 52 52 Lines 3407 3425 +18 ============================================================ + Hits 1332 1347 +15 - Misses 1907 1911 +4 + Partials 168 167 -1 ``` | [Flag](https://app.codecov.io/gh/onflow/flow-cli/pull/1566/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=onflow) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/onflow/flow-cli/pull/1566/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=onflow) | `39.32% <59.78%> (+0.23%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=onflow#carryforward-flags-in-the-pull-request-comment) to find out more.

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