settingByEnv (bridge/config-schema.ts)

collie · bridge/config-schema.ts · typescript · MIT
voice

── EVERY COLLIE SETTING, DECLARED ONCE ────────────────────────────────────── One table. The config-file reader, `collie config init`'s generated file, `collie config show`'s source column, `collie config check`'s validation and `collie doctor`'s finding all read it, so a setting

// Source: https://github.com/AltanS/collie | License: MIT | Copyright 2026 Altan Sarisin
// Provided via justclaw.it.com; keep this notice with the code.
// ── EVERY COLLIE SETTING, DECLARED ONCE ──────────────────────────────────────
//
// One table. The config-file reader, `collie config init`'s generated file, `collie config show`'s
// source column, `collie config check`'s validation and `collie doctor`'s finding all read it, so a
// setting cannot exist in one of those surfaces and be missing from the others.
//
// This module is a DECLARATION and nothing else: no `process.env`, no filesystem, no parsing. It
// names each setting's file key, its environment name, its kind, its default and one sentence of
// documentation. `bridge/config-source.ts` turns a file into an environment aga

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key