Command

bengal.config.doctor

Validate and lint configuration.

Checks for:

  • Valid YAML syntax
  • Type errors (bool, int, str)
  • Unknown keys (typo detection)
  • Required fields
  • Value ranges
  • Deprecated keys

Run this before deploying to catch configuration errors early. Exits with non-zero code if errors are found (useful for CI/CD).

Usage

bengal.config.doctor [OPTIONS]

Options

Option Type Description
--environment, -e CHOICE

Environment to validate (default: all)

Arguments

Argument Type Description
source PATH Default:.

Examples

    bengal config doctor
    bengal config doctor --environment production