From 59c2b30d299959acbab6c73f0f054d424984202a Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Mon, 29 Jul 2024 16:38:06 +0100 Subject: [PATCH 01/13] add new command --- .../docs/docs/build/metricflow-commands.md | 25 ++++++++++++- .../docs/use-dbt-semantic-layer/exports.md | 36 ++++++++++++++++++- 2 files changed, 59 insertions(+), 2 deletions(-) diff --git a/website/docs/docs/build/metricflow-commands.md b/website/docs/docs/build/metricflow-commands.md index 09822fd70ad..e7e6eb6c2e6 100644 --- a/website/docs/docs/build/metricflow-commands.md +++ b/website/docs/docs/build/metricflow-commands.md @@ -67,7 +67,7 @@ MetricFlow provides the following commands to retrieve metadata and query metric -You can use the `dbt sl` prefix before the command name to execute them in the dbt Cloud CLI. For example, to list all metrics, run `dbt sl list metrics`. +You can use the `dbt sl` prefix before the command name to execute them in the dbt Cloud CLI. For example, to list all metrics, run `dbt sl list metrics`. For a complete list of the MetricFlow commands and flags, run the `dbt sl --help` command in your terminal. - [`list`](#list) — Retrieves metadata values. - [`list metrics`](#list-metrics) — Lists metrics with dimensions. @@ -76,6 +76,9 @@ You can use the `dbt sl` prefix before the command name to execute them in the d - [`list entities`](#list-entities) — Lists all unique entities. - [`list saved queries`](#list-saved-queries) — Lists available saved queries. Use the `--show-exports` flag to display each export listed under a saved query. - [`query`](#query) — Query metrics, saved queries, and dimensions you want to see in the command line interface. Refer to [query examples](#query-examples) to help you get started. +- [`export`](#exports) — Runs runs exports for a singular saved query for testing and generating exports in your development environment. You can also use the `--select` flag to specify particular exports from a saved query. +- [`export-all`](#export-all) — Runs exports for multiple saved queries at once, saving time and effort. +