LakeQL
Overview
  • Installation
Commands
  • init
  • pull
  • create-registry
  • create-endpoint
  • generate-import-config
  • list-schemas
  • list-tables
  • list-views
  • list-columns
  • add
Configuration
  • Environment Variables
  • Config File
GitHub
LakeQL
  1. CLI
  2. Commands
  3. create-registry

On this page

  1. Options
    1. --source-path <path>

create-registry

Regenerate the config registry that keeps createPermission type-safe.

create-registry regenerates the config registry. The registry is the aggregated list of every generated endpoint config in your project. It gives createPermission its type-safety, because it knows the available data sources, adapters, and table names at compile time.

pnpm lakeql-cli create-registry

You normally do not run this by hand. pull updates the registry as it generates endpoints. Run create-registry when you pulled with --skip-registry, removed generated endpoints manually, or the registry has otherwise drifted from the files on disk.

--source-path <path>

Base path for generated code (resolved from the command invocation directory). Files are created in schemas/generated|custom inside this path.

PropertyValue
Typestring
RequiredNo
Defaultcommand invocation directory

Previous page

pull

Next page

create-endpoint