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 66 forks source link

Generate contract in account if given #1576

Closed chasefleming closed 4 months ago

chasefleming commented 4 months ago

Closes #1575

Description

flow dev needs contracts in an account folder. This setups it up the flow dev required structure if an account is given.

Screenshot 2024-05-06 at 2 48 11 PM


For contributor use:

codecov-commenter commented 4 months ago

Codecov Report

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

Project coverage is 39.31%. Comparing base (d74cf45) to head (fdece34).

Files Patch % Lines
internal/super/setup.go 0.00% 9 Missing :warning:
internal/super/generate.go 71.42% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature/interactive-init #1576 +/- ## ============================================================ + Coverage 39.27% 39.31% +0.03% ============================================================ Files 52 52 Lines 3432 3449 +17 ============================================================ + Hits 1348 1356 +8 - Misses 1917 1926 +9 Partials 167 167 ``` | [Flag](https://app.codecov.io/gh/onflow/flow-cli/pull/1576/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/1576/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=onflow) | `39.31% <50.00%> (+0.03%)` | :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.