Skip to main content

Crate capy_cli

Crate capy_cli 

Source
Expand description

Project scaffolding and code generation used by the capy binary.

Structs§

FrontendConfig
Frontend configuration; the directory is conventionally frontend/.
ProjectConfig
Small, explicit project metadata loaded from capy.toml.

Enums§

FrontendDriver
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.