Skip to content

Allow use of flow init for existing directories #1809

@jribbink

Description

@jribbink

Issue To Be Solved

It would be nice to allow developers to run flow init in an existing directory. Frequently, developers will start with a Frontend project, for instance, and wish to add Cadence code to this existing boilerplate. It would be helpful to be able to run flow init in this folder to encourage interoperability with existing FE projects (the alternative now is putting whole Cadence project in separate folder, not using flow init, or using --config-only)

(Optional): Suggest A Solution

(somehow) Allow this to be possible. Would (ideally) involve checking for collisions before guiding the user throguh the init process instead of surfacing this error once they have walked through all the steps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureA new user feature or a new package API

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions