How can I use phx.gen.html to generate only controller, view and templates ? (no schema and context files)

My problem is that I am working with an umbrella project.
Context and schemas reside in core_app, migrations in db_app and “html” in the web apps.

  • I’ve already created necessary migrations in db_app
  • I’ve configured core_app not to generate migrations when I ran phx.gen.context
  • Now it would be great if I can run phx.gen.html in Phoenix app, without generating context files that already exist in the core_app.

Would it be possible to do that ?


mix phx.gen.html Example Cat cats --no-schema --no-context


Oh how did I miss that in the docs !
Thanks ^^