mix sayfa.upgrade (Sayfa v0.5.0)

Copy Markdown View Source

Upgrade your Sayfa site by syncing new theme files from the package.

Compares your project's theme against the built-in default theme and reports missing files (e.g. new layouts like 404.html.eex). In dry-run mode nothing is copied.

Usage

mix sayfa.upgrade              # Dry run — show what would change
mix sayfa.upgrade --apply      # Copy missing files
mix sayfa.upgrade --force      # Overwrite existing files too
mix sayfa.upgrade --theme NAME # Target a specific theme (default: read from config)

Examples

mix sayfa.upgrade --apply
mix sayfa.upgrade --theme custom --apply