Strictness

Stop your command when configuration breaks your rules.

Usage

Use strict = true to stop your command when a configured value-validation rule fails. The default is strict = false, which reports warnings.

strict = true

[env.DATABASE_URL]
type = "url"
required = true

Set strictness at the root, in a file table, or for an individual variable. Set required and storage rules separately. CLI --strict also stops on loading errors.