Expand description
Project scaffolding and code generation used by the capy binary.
Structs§
- Frontend
Config - Frontend configuration; the directory is conventionally
frontend/. - Project
Config - Small, explicit project metadata loaded from
capy.toml.
Enums§
- Frontend
Driver - The frontend stacks supported by Capy.
- Generator
- Supported generators, each producing a registered, compilable Rust module.
Functions§
- find_
project - Find a Capy application from its root or any nested directory.
- generate
- Generate a file and update its explicit module registry without overwrites. Migration registry markers must remain present; other code is left intact.
- make_
auth - Install conventional auth without overwriting application-owned files. All sources and registry edits are validated/formatted before the first mutation.
- make_
job - Generate a job with explicit registration. First use installs the optional feature, application hook and native migration. Writes are locked, formatted and rolled back on failure; application files are never silently replaced.
- make_
mail - Generate an application-owned mailable and compiled text/HTML templates.
- make_
notification - Generate a mail notification without unused channel stubs or a runtime registry.
- new_
project - Create a project without overwriting an existing directory.
- new_
project_ with_ frontend - Create a project with an explicit frontend selection.