`--sql` flag does not generate SQL profile
- Dominant language
- Clojure
- Stars
- 558
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Description
Generating with `--sql` produces no `:db.sql/*` keys in `system.edn`, and `resources/queries.sql` / `resources/migrations/placeholder.txt` are missing.
```bash
neil new io.github.kit-clj/kit myapp --sql
```
`--conman --migratus` works as a workaround.
Cause: in `libs/deps-template/src/io/github/kit_clj/deps_template.clj`, `excluded-template-files` only checks `:conman` / `:migratus`, and the `system.edn` Selmer template only branches on `conman?` / `migratus?` / `hikari?`. Nothing maps `:sql` to those, so passing only `--sql` leaves all SQL components disabled.
Versions: `deps-template` 0.1.89.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in libs/deps-template/src/io/github/kit_clj/deps_template.clj and inspect excluded-template-files, then read the system.edn Selmer template branches for conman?, migratus?, and hikari?. Run `neil new io.github.kit-clj/kit myapp --sql`; done means system.edn contains the :db.sql/* keys and the expected resources/queries.sql and resources/migrations/placeholder.txt files are generated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- backend, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100