martenframework / marten

The pragmatic web framework.
https://martenframework.com
MIT License
415 stars 22 forks source link

Add an `--edge` option to the `new` management command #224

Closed ellmetha closed 4 months ago

ellmetha commented 5 months ago

Description

Let's make it possible to generate new projects (or applications) that use the development version of Marten through the use of an --edge / -e option. When this option is set, the generated project structure should include a shard.override.yml file (in addition to the shard.yml file) with the following content:

dependencies:
  marten:
    github: martenframework/marten
    branch: main

This will ensure that the project uses the development version of Marten (main branch) when running the shards install command (ref).

notramo commented 5 months ago

I would recommend --nightly, or --dev-preview as those seem less ambigous.