Skip to content

init

./spry.ts init or ./spry.ts --init

Initialize a new Spry project in the current directory.

Terminal window
./spry.ts init
Terminal window
./spry.ts init [options]
  • --force - Remove existing files and recreate from latest tag
  • -d, --dialect <dialect> - SQL dialect sqlite or postgres (default: sqlite)
Terminal window
# Initialize with SQLite (default)
./spry.ts init
# Initialize with PostgreSQL
./spry.ts init --dialect postgres
# Force reinitialize
./spry.ts init --force
  • spry.ts - Executable CLI wrapper (local Spry CLI script)
  • Spryfile.md - Sample Markdown notebook with SQLPage configuration (main executable markdown file)
  • sqlpage/ - SQLPage configuration directory
  • Updates .gitignore with generated directories