# Rustelo Init Configuration File # This file allows you to skip interactive prompts when creating new projects # Usage: cargo rustelo init my-project --config rustelo-init-config.toml # Template to use for initialization # Options: "basic", "minimal", "enterprise", "cms", "saas", "ai-powered", "e-commerce" # If not specified, uses the template from CLI argument or "basic" as default template = "basic" # How to handle existing directories # Options: # "merge" - Merge template into existing directory (default) # "replace" - Remove existing directory and create fresh # "cancel" - Cancel operation if directory exists existing_directory_action = "merge" # Skip safety confirmations (use with caution) # When true, assumes "yes" to all safety prompts auto_confirm = false # Asset configuration section [assets] # Template source configuration # Options: # "remote" - Download from GitHub/remote URL # "local" - Use local framework development setup # Custom URL starting with "http" or "https" source = "local" # Directory to store assets in your project # Options: # ".rustelo-assets" (recommended) # "templates" # Custom path download_location = ".rustelo-assets" # Framework path for local development # Required when source = "local" # Should point to your local rustelo framework directory framework_path = "../rustelo" # Enable asset caching to speed up repeated operations cache_enabled = true # Automatic asset updates # true = Update assets automatically on build # false = Manual updates only auto_update = true # Notification methods for updates and operations # Available options: "console", "file", "webhook" notification_methods = ["console"] # Example configurations for different scenarios: # For production/CI environments: # source = "remote" # download_location = ".rustelo-assets" # auto_update = false # existing_directory_action = "cancel" # For development/testing: # source = "local" # framework_path = "../rustelo" # auto_update = true # existing_directory_action = "merge"