Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 31 Oct 2026. What's built · Install 0.1.0
jadpo
Reference: Tooling

Tooling

jadpo seed

On this page

Fill the development database from a seed.

Run a seed, database/seeds/<name>.jadpo, against the development database (area 5): its calls go through the app's own actions, so validation, lifecycles and policy apply, and a call that passes a caller runs as them. The database is the one --url names, else the address its connection's setting gives, else the one a running jadpo dev started. It must be on this machine: a database anywhere else may be production, and is refused before anything runs. Pending migrations are applied first. Mail lands in the dev inbox and provider calls are faked, as under jadpo dev. A failure stops the seed, and what its earlier calls committed stays.

usage
jadpo seed [name]

Arguments

  • name (optional): The seed's file name in database/seeds/, without .jadpo

Flags

  • --url <url>: The database to seed, on this machine

On every command

  • --json: Print data for tools instead of text
  • --help: Show every flag, with examples
  • --color <when>: Choose when to use colour

jadpo seed --json writes one JSON document to standard output instead of text, with the same exit code. The document has schemaVersion, command ("seed"), ok, data (what the command produced, null when it failed) and diagnostics (each error with its rule, reason, next and help). A command that needs a terminal refuses --json and names the flags that do the same job.

Examples

shell
# Give the development database its first usersjadpo seed first_users# Seed a database named directlyjadpo seed local_demo --url postgresql://localhost/library_dev

Errors

Markdown for agents: /docs/jadpo-seed.md.Built from Jadpo main at c70d5e7.