Initialization¶
deelan init scaffolds a new project directory.
Command¶
deelan init [dir] [options]
Default Output¶
content/starter post + snippetpublic/js/astro.config.mjs,tsconfig.json,deelan.config.yml.gitignore(.astro,.generated,.site-deelan,exports)
By default, source templates are resolved from the installed package at build time.
Options¶
--with-srccopy localsrc/templates for advanced customization--no-vscodeskip.vscodehelper files--no-frontmatterskip.frontmatterhelper files--no-gitskip git initialization--no-lfs-attrsskip default.gitattributesLFS patterns--yes/--forceallow writing into non-empty target directory
Git and LFS Defaults¶
When --no-git is not set and target is not already in a repo:
- git repository is initialized
.gitattributeswith default LFS mappings is created (unless--no-lfs-attrs)