pillars icon indicating copy to clipboard operation
pillars copied to clipboard

Add CLI to create new pillars-based project

Open rlemaitre opened this issue 6 months ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Which module is affected?

  • [ ] core
  • [ ] db-doobie
  • [ ] db-skunk
  • [ ] db-migration
  • [ ] docs
  • [ ] flags
  • [ ] http-client
  • [ ] rabbitmq-fs2
  • [ ] redis-rediculous

Cause

Creating a new project based on Pillars may be eased.

Description

The CLI would be a wizard to create a new project, asking for:

  • project name
  • package name
  • modules that have to be used
  • whether CI (Github Actions for starting) should be configured
  • Configuration
    • Enabling features
    • Configuration values
    • ...
  • Common deployment
    • Helm chart
    • docker-compose
    • ...

Alternatives

Giter8 templates were considered, but UX is not good enough

Context

It would simplify the bootstrap of a new project, which is the main goal of Pillars

Possible Implementation

Cue4s could be used to have a clean interface instead of basic prompts/CLI options

Anything else?

No response

rlemaitre avatar Aug 22 '24 09:08 rlemaitre