Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ellomas.com/llms.txt

Use this file to discover all available pages before exploring further.

Installation

go install github.com/tomiwa-a/seedling/cmd/seedling@latest
This installs the seedling binary to $GOPATH/bin.

Docker

Build from source:
git clone https://github.com/tomiwa-a/seedling.git
cd seedling
docker build -t seedling .

Usage Examples

Generate from local schema files:
docker run --rm -v $(pwd):/data seedling generate \
  --schema /data/schema.yaml --output /data/seed.sql
Introspect a database:
docker run --rm seedling introspect \
  --db postgres://user:pass@host:5432/mydb
Use with a config file:
docker run --rm -v $(pwd):/data seedling generate --config /data/seedling.yaml

Build from Source

git clone https://github.com/tomiwa-a/seedling.git
cd seedling
go build -o seedling ./cmd/seedling

Verify Installation

seedling --help
You should see the CLI help output with the available commands: introspect, generate, watch, validate.