Svelixir.Parse (svelixir v0.2.0)

Copy Markdown

Parses configuration and executes generation tasks using Igniter.

This module takes the parsed Svelixir configuration and generates the project structure using Igniter's code generation capabilities.

Summary

Functions

Executes generation tasks based on the provided configuration.

Executes only the base (non-feature) generation tasks based on the provided configuration — currently just project structure via Base.execute/1. Skips features, container, assets, and auth wiring.

Functions

execute(config)

@spec execute(Svelixir.Config.t()) :: :ok

Executes generation tasks based on the provided configuration.

Takes the configuration and uses Igniter to:

  • Create project directory structure
  • Generate configuration files
  • Set up features based on enabled options
  • Initialize authentication strategies
  • Configure assets pipeline

execute_base(config)

@spec execute_base(Svelixir.Config.t()) :: :ok

Executes only the base (non-feature) generation tasks based on the provided configuration — currently just project structure via Base.execute/1. Skips features, container, assets, and auth wiring.