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

Dependency Manager: Prompt to add an alias for other networks on install/add #1488

Closed chasefleming closed 3 months ago

chasefleming commented 3 months ago

Closes #1363

Screenshot 2024-04-02 at 2 09 30 PM

This also changes the log to be a summary at the end:

Screenshot 2024-04-02 at 2 34 36 PM


For contributor use:

codecov-commenter commented 3 months ago

Codecov Report

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

Project coverage is 39.70%. Comparing base (783914c) to head (39e029e).

Files Patch % Lines
internal/dependencymanager/dependencyinstaller.go 40.00% 21 Missing and 3 partials :warning:
internal/dependencymanager/add.go 0.00% 1 Missing :warning:
internal/dependencymanager/install.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1488 +/- ## ========================================== + Coverage 39.64% 39.70% +0.06% ========================================== Files 51 51 Lines 2916 2944 +28 ========================================== + Hits 1156 1169 +13 - Misses 1607 1620 +13 - Partials 153 155 +2 ``` | [Flag](https://app.codecov.io/gh/onflow/flow-cli/pull/1488/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/1488/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=onflow) | `39.70% <38.09%> (+0.06%)` | :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.