Skip to content

feat(cli): phase 3-4 scaffold, seed command, and in-process services#2065

Merged
bpamiri merged 2 commits into
developfrom
peter/phase3-scaffold-distribution
Apr 10, 2026
Merged

feat(cli): phase 3-4 scaffold, seed command, and in-process services#2065
bpamiri merged 2 commits into
developfrom
peter/phase3-scaffold-distribution

Conversation

@bpamiri
Copy link
Copy Markdown
Collaborator

@bpamiri bpamiri commented Apr 10, 2026

Summary

Phase 3: Scaffold & Distribution

  • Updated scaffold lucee.json template with SQLite datasources using {project} placeholder
  • wheels new myapp generates a random reload password instead of using app name
  • Scaffold creates db/ directory with empty .sqlite files and .gitignore
  • Added wheels seed command with HTTP delegation to /wheels/cli?command=dbSeed
  • Modernized wheels migrate to use /wheels/cli endpoint instead of legacy URLs

Phase 4: In-Process Services

  • TestRunner.cfc — in-process test execution via LuceeScriptEngine (with HTTP fallback)
  • MigrationRunner.cfc — in-process migration execution (latest, up, down, info)
  • MCP.cfc — structured tool schemas for LuCLI stdio MCP transport
  • Console enhancements: /models, /routes, /version, /ds commands

What's blocked

Test plan

  • Verify wheels new testapp creates project with SQLite in lucee.json
  • Verify random reload password in .env and config/settings.cfm
  • Verify db/ directory created with .sqlite files
  • Verify wheels seed delegates to running server
  • Verify console /models, /routes, /version commands work
  • CI passes

Generated with Claude Code

bpamiri and others added 2 commits April 9, 2026 20:41
…ommand

- Update scaffold lucee.json template with SQLite datasources using
  {project} placeholder for LuCLI resolution
- Generate random reload password instead of using app name
- Create db/ directory with empty .sqlite files during scaffold
- Add db/.gitignore to exclude database files from version control
- Add `wheels seed` command with HTTP delegation to running server
- Modernize `wheels migrate` to use /wheels/cli endpoint
- Update template references from CommandBox to LuCLI

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add TestRunner.cfc for in-process test execution via LuceeScriptEngine
  (Phase 4 path, with HTTP fallback for Phase 2-3)
- Add MigrationRunner.cfc for in-process migration execution
  (latest, up, down, info actions without HTTP round-trips)
- Add MCP.cfc with structured tool schemas for LuCLI stdio transport
- Enhance console with /models, /routes, /version, /ds commands
- Update console help text with new commands

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bpamiri bpamiri changed the title feat(cli): phase 3 scaffold with sqlite and seed command feat(cli): phase 3-4 scaffold, seed command, and in-process services Apr 10, 2026
@bpamiri bpamiri merged commit e64c1b6 into develop Apr 10, 2026
3 checks passed
@bpamiri bpamiri deleted the peter/phase3-scaffold-distribution branch April 10, 2026 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant