Search documentation of phoenix_kit

# mix phoenix_kit.seed_templates (phoenix_kit v1.6.19)

View Source

Seeds the database with system email templates.

This task creates the default system templates for authentication and core functionality. It's safe to run multiple times as it will not create duplicate templates.

## Usage

    mix phoenix_kit.seed_templates

## Options

    --force    Force recreation of existing templates (will update content)
    --quiet    Run without output

## Examples

    # Seed templates normally
    mix phoenix_kit.seed_templates

    # Force update existing templates
    mix phoenix_kit.seed_templates --force

    # Run quietly without output
    mix phoenix_kit.seed_templates --quiet

## System Templates

This task will create the following system templates:

- magic_link - Magic link authentication email
- register - User registration confirmation email
- reset_password - Password reset email
- test_email - Test email for tracking verification
- update_email - Email change confirmation

All templates are marked as system templates and cannot be deleted through the UI.