Scans your project for all schemas/**/config.ts files and generates a unified config-registry.ts. This registry enables type-safe usage of createPermission across your endpoints.
Syntax #
1
2
lakeql-cli create-registry [options]
Usage #
1
2
lakeql-cli create-registry
1
2
3
✔ Found 4 config files in schemas/
✔ Generated config-registry.ts
The generated file imports all discovered config modules and re-exports them as a typed registry object.
Options #
--source-path <path>
Base path for generated code (resolved from the command invocation directory). Files are created in `schemas/generated|custom` inside this path.
| Property | Value |
|---|---|
| Type | string |
| Required | No |
| Default | command invocation directory |