# Website generator — scaffold a new Rustelo website from a template snapshot. # Scaffold a new website. Interactive by default; pass flags + --yes for non-interactive. # just site::new # just site::new --project acme --render-mode htmx-ssr --domain acme.dev --ontoref minimal --yes new *args: nu {{justfile_directory()}}/scripts/generator/new-site.nu {{args}} # Re-snapshot the template trees from the living model (jpl-website). extract: nu {{justfile_directory()}}/scripts/generator/extract-template.nu --mode htmx-ssr --out {{justfile_directory()}}/templates/website-htmx-ssr nu {{justfile_directory()}}/scripts/generator/extract-template.nu --mode leptos --out {{justfile_directory()}}/templates/website-leptos