Functions
should_run_init_wizard
Determine if we should run the initialization wizard.
should_run_init_wizard
def should_run_init_wizard(template: str, no_init: bool, init_preset: str | None) -> bool
Determine if we should run the initialization wizard.
Parameters 3
| Name | Type | Default | Description |
|---|---|---|---|
template |
str |
— | Selected template name |
no_init |
bool |
— | Whether user explicitly said no to wizard |
init_preset |
str | None |
— | Preset name if provided via flag |
Returns
True if wizard should runbool
—
run_init_wizard
Run the site initialization wizard and return the selected template ID.
run_init_wizard
def run_init_wizard(preset: str | None = None) -> str | None
Run the site initialization wizard and return the selected template ID.
Parameters 1
| Name | Type | Default | Description |
|---|---|---|---|
preset |
str | None |
None |
Optional preset name to use directly without prompting |
Returns
Template ID string or None for blank sitestr | None
—