Skip to content

Switch CLI to Hub template with in-memory default#1

Merged
Theauxm merged 2 commits into
mainfrom
feat/hub-template-and-inmemory-default
Mar 17, 2026
Merged

Switch CLI to Hub template with in-memory default#1
Theauxm merged 2 commits into
mainfrom
feat/hub-template-and-inmemory-default

Conversation

@Theauxm
Copy link
Copy Markdown
Member

@Theauxm Theauxm commented Mar 17, 2026

Summary

  • CLI now generates trax-hub (API + Scheduler + Dashboard) instead of trax-api
  • All templates use UseInMemory() so generated projects run immediately without Postgres
  • PatchProgramCs adds the trains assembly alongside typeof(Program).Assembly for proper train discovery
  • Scriban templates updated with namespace/using improvements

Test plan

  • All 88 CLI unit tests pass
  • Generated Hub project builds and runs end-to-end (scheduler seeds manifests, GraphQL endpoint active, dashboard serves)
  • Verify dotnet new trax-hub works after template install

Theauxm added 2 commits March 17, 2026 10:16
The CLI now generates a trax-hub project (API + Scheduler + Dashboard)
instead of trax-api. Templates use UseInMemory() so generated projects
run immediately without Postgres. PatchProgramCs adds the trains
assembly alongside Program's assembly for proper discovery.
@Theauxm Theauxm merged commit 373bfc4 into main Mar 17, 2026
1 check passed
@traxsharp
Copy link
Copy Markdown

traxsharp Bot commented Mar 17, 2026

This PR is included in version 1.1.0

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