Initialize a new Reflex app in the current directory.
(
name: str,
template: str | None,
ai: bool,
agents: bool,
)
| 133 | help="Write an AGENTS.md to guide AI coding agents working in the app (enabled by default).", |
| 134 | ) |
| 135 | def init( |
| 136 | name: str, |
| 137 | template: str | None, |
| 138 | ai: bool, |
| 139 | agents: bool, |
| 140 | ): |
| 141 | """Initialize a new Reflex app in the current directory.""" |
| 142 | _init(name, template, ai, agents) |
| 143 | |
| 144 | |
| 145 | def _compile_app(*, avoid_dirty_check: bool = True): |