From c9263da8171af54200f64d0de843bea6d58414bd Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Tue, 14 Apr 2026 14:33:15 +0000 Subject: [PATCH] Improve search visibility for lightdash generate CLI command Generated-By: mintlify-agent --- guides/cli/how-to-auto-generate-schema-files.mdx | 9 ++++++++- references/lightdash-cli.mdx | 12 +++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/guides/cli/how-to-auto-generate-schema-files.mdx b/guides/cli/how-to-auto-generate-schema-files.mdx index cff2d6fa..2ed97835 100644 --- a/guides/cli/how-to-auto-generate-schema-files.mdx +++ b/guides/cli/how-to-auto-generate-schema-files.mdx @@ -2,7 +2,14 @@ title: Autogenerate Lightdash-ready YAML files for your models sidebarTitle: Autogenerate YAML icon: "wand-magic-sparkles" -description: The beauty of Lightdash is that we're pretty well synced with your dbt project. So, in Lightdash, Tables actually come from dbt models that have been defined in your dbt project's `.yml` files. +description: Use the lightdash generate command to auto-generate and sync schema.yml files for your dbt models so they appear as tables in Lightdash. +keywords: + - lightdash generate + - generate schema.yml + - auto-generate schema + - lightdash dbt run + - schema.yml + - YAML generation --- If your dbt model has been defined in a .yml file, it will appear in Lightdash as a Table. diff --git a/references/lightdash-cli.mdx b/references/lightdash-cli.mdx index 7bd1ee53..d218cc72 100644 --- a/references/lightdash-cli.mdx +++ b/references/lightdash-cli.mdx @@ -2,6 +2,16 @@ title: "Lightdash CLI reference" sidebarTitle: "Lightdash CLI" description: "The Lightdash CLI is the recommended way to develop your Lightdash project. It makes development faster and easier, as well as giving you options for building more powerful automation to manage your Lightdash projects." +keywords: + - lightdash generate + - lightdash generate-exposures + - generate schema.yml + - lightdash compile + - lightdash deploy + - lightdash preview + - lightdash validate + - lightdash dbt run + - CLI commands --- @@ -499,7 +509,7 @@ lightdash validate --only ["dashboards"] --skip-dbt-compile ### `lightdash generate` -Generates a new `schema.yml` file or updates existing `schema.yml` for selected model(s). +Generates a new `schema.yml` file or updates existing `schema.yml` for selected model(s). Use this command to auto-generate Lightdash-ready YAML schema files from your database columns so your dbt models appear as tables in Lightdash. All standard [dbt options](#dbt-options) work with `lightdash generate`.