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

Add message if conflicting contract on dependency install #1560

Closed chasefleming closed 2 months ago

chasefleming commented 2 months ago

There are cases where someone may have a conflicting contract name to a dependency or they may be migrating to use Dependency Manager. It would be nice to show a message if a conflict is found so they can address it (e.g. they may then want to remove it from their contracts section since it is now in Dependencies or rename their contract).

This is related to this (can be a stepping stone to it): https://github.com/onflow/flow-cli/issues/1544