-
Notifications
You must be signed in to change notification settings - Fork 457
Closed as not planned
Labels
cliCommand line relatedCommand line relateddune initfeature-requestUser wanted featuresUser wanted features
Description
Desired Behavior
Add a flag to automatically create an opam switch when initializing a new dune project. Eventually, this could be the default behavior for dune init.
That way, users fall into the pit of success by isolating their dependencies. Otherwise, they run the risk of relying on implicit global dependencies, or breaking other projects when they change dependencies in their current project.
Example
dune init executable my-app --with-switch
Will initialize my-app with a local switch for that folder. Flag name is of course up for debate.
Metadata
Metadata
Assignees
Labels
cliCommand line relatedCommand line relateddune initfeature-requestUser wanted featuresUser wanted features