Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInitialized ¶
IsInitialized returns true when devcell.toml exists in dir.
func Scaffold ¶
Scaffold writes scaffold files to dir, then generates package.json and pyproject.toml from the [packages] section in devcell.toml. Files that already exist are skipped (idempotent). modelsSnippet is an optional commented-out [models] section for devcell.toml; pass "" to use the default generic example.
func ScaffoldVagrantfile ¶
ScaffoldVagrantfile writes a Vagrantfile to dir substituting:
- {{VAGRANT_BOX}} with vagrantBox (empty → falls back to MACOS_BOX env var at runtime)
- {{NIXHOME_PATH}} with nixhomePath (empty → falls back to NIXHOME_PATH env var at runtime)
Skips writing if a Vagrantfile already exists (idempotent).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.