Seedfast CLI is an AI-powered command-line interface tool designed to generate realistic test data for PostgreSQL databases. Currently at version 2.3.0, it maintains a regular release cadence with frequent patch and minor updates, indicating active development. Its core functionality involves connecting to an external backend service that leverages AI to analyze a given PostgreSQL database schema, understanding intricate table relationships and constraints. Based on this analysis, it formulates an intelligent seeding plan. Key differentiators include its ability to produce contextually appropriate and realistic test data, a rich interactive terminal interface with real-time progress tracking, a multi-worker architecture for efficient concurrent execution, and secure OAuth-style device flow authentication with OS-level credential storage. It supports multiple installation methods, including npm, Homebrew, or direct binary download, and offers dedicated integration patterns for CI/CD environments.
npm install seedfastNo compatibility data collected yet for this library.
This quickstart guides users through the initial setup, authentication with the Seedfast backend, database connection configuration, and the primary database seeding process using the `seedfast` command-line tool.
Use `seedfast me` instead of `seedfast whoami`.
Ensure stable internet connectivity and check Seedfast service status if encountering unexpected issues related to planning or data generation.
Always run `seedfast login` as the first step to authenticate with the backend service before attempting to seed or connect.
When integrating into CI/CD pipelines, configure `SEEDFAST_API_KEY` as an environment variable (e.g., using GitHub Actions secrets) instead of relying on interactive login.
Choose the installation method that best suits your environment and preference (npm, Homebrew, or direct binary download) while being aware of its Go-binary nature for troubleshooting.
Ensure `npm install -g seedfast` completes successfully and npm's global bin directory is included in your system's PATH, or use `npx seedfast` for execution without global installation. Alternatively, install via Homebrew or directly move the downloaded binary to a PATH-accessible location.
Re-run `seedfast connect` and meticulously verify the PostgreSQL connection string, ensuring the username, password, host, port, and database name are all accurate and that the user has the necessary permissions to connect to the database.
Execute `seedfast login` in your terminal. This will open your web browser to complete the authentication process with the Seedfast service.
Set the `SEEDFAST_API_KEY` environment variable with a valid Seedfast API key prior to running `seedfast` commands in non-interactive contexts. Consult the CI/CD integration documentation for details on generating and using API keys.
No dependency data recorded yet.