Skip to main content

flightline init

Initialize a new Flightline project by scanning your codebase and creating a configuration file.

Usage

flightline init

What It Does

The init command:
  1. Scans your project for Pydantic models or JSON schemas
  2. Prompts you to select which models to test
  3. Creates a flightline.yaml configuration file

Example

$ flightline init

> Scanning project... found 3 Pydantic models.
> Which do you want to test? [LoanApp, UserProfile, Transaction]
> Selected: LoanApp

What’s Next

After initialization:
  1. Review the generated flightline.yaml config
  2. Run flightline generate to create test cases
  3. Run flightline run to test your prompts

Next: Generate Data

Generate synthetic test data from your schema.