Skip to content

@kekkai/blueprint / RulesOptions

Interface: RulesOptions

Defined in: inspect/rules.ts:32

blueprint rules — the emitted-rule catalog as a queryable command, so nobody has to reverse-engineer it from the bundle. With a config present, every gate is annotated with what the blueprint actually declares.

Properties

json?

optional json?: boolean

Defined in: inspect/rules.ts:34

Emit machine-readable JSON instead of the text catalog.


loadConfig?

optional loadConfig?: (file) => Promise<Blueprint>

Defined in: inspect/rules.ts:38

Load an existing blueprint.config (default dynamic import).

Parameters

file

string

Returns

Promise<Blueprint>


log?

optional log?: (message) => void

Defined in: inspect/rules.ts:36

Output sink (default console.log).

Parameters

message

string

Returns

void