Skip to content

dbt-meshify Commands#

dbt-meshify#

Usage:

dbt-meshify [OPTIONS] COMMAND [ARGS]...

Options:

  --help  Show this message and exit.

Subcommands

dbt-meshify connect#

Info

This command is not yet implemented

Connects multiple dbt projects together by adding all necessary dbt Mesh constructs

Usage:

dbt-meshify connect [OPTIONS] [PROJECTS_DIR]

Options:

  --help  Show this message and exit.

dbt-meshify group#

Creates a new dbt group based on the selection syntax Detects the edges of the group, makes their access public, and adds contracts to them

Usage:

dbt-meshify group [OPTIONS] NAME

Options:

  -e, --exclude TEXT      The dbt selection syntax specifying the resources to
                          exclude in the operation
  --project-path PATH     The path to the dbt project to operate on. Defaults
                          to the current directory.
  -s, --select TEXT       The dbt selection syntax specifying the resources to
                          include in the operation
  --selector TEXT         The name of the YML selector specifying the
                          resources to include in the operation
  --owner <TEXT TEXT>...  A tuple of Owner information for the group. For
                          example `--owner name example`
  --group-yml-path PATH   An optional path to store the new group YAML
                          definition.
  --help                  Show this message and exit.

dbt-meshify operation#

Set of subcommands for performing mesh operations on dbt projects

Usage:

dbt-meshify operation [OPTIONS] COMMAND [ARGS]...

Options:

  --help  Show this message and exit.

Subcommands

dbt-meshify operation add-contract#

Adds a contract to all selected models.

Usage:

dbt-meshify operation add-contract [OPTIONS]

Options:

  -e, --exclude TEXT   The dbt selection syntax specifying the resources to
                       exclude in the operation
  --project-path PATH  The path to the dbt project to operate on. Defaults to
                       the current directory.
  -s, --select TEXT    The dbt selection syntax specifying the resources to
                       include in the operation
  --selector TEXT      The name of the YML selector specifying the resources
                       to include in the operation
  --help               Show this message and exit.

dbt-meshify operation add-version#

Adds/increments model versions for all selected models.

Usage:

dbt-meshify operation add-version [OPTIONS]

Options:

  -e, --exclude TEXT   The dbt selection syntax specifying the resources to
                       exclude in the operation
  --project-path PATH  The path to the dbt project to operate on. Defaults to
                       the current directory.
  -s, --select TEXT    The dbt selection syntax specifying the resources to
                       include in the operation
  --selector TEXT      The name of the YML selector specifying the resources
                       to include in the operation
  --prerelease, --pre
  --defined-in TEXT
  --help               Show this message and exit.

dbt-meshify operation create-group#

Create a group and add selected resources to the group.

Usage:

dbt-meshify operation create-group [OPTIONS] NAME

Options:

  -e, --exclude TEXT      The dbt selection syntax specifying the resources to
                          exclude in the operation
  --project-path PATH     The path to the dbt project to operate on. Defaults
                          to the current directory.
  -s, --select TEXT       The dbt selection syntax specifying the resources to
                          include in the operation
  --selector TEXT         The name of the YML selector specifying the
                          resources to include in the operation
  --owner <TEXT TEXT>...  A tuple of Owner information for the group. For
                          example `--owner name example`
  --group-yml-path PATH   An optional path to store the new group YAML
                          definition.
  --help                  Show this message and exit.

dbt-meshify split#

Info

This command is not yet implemented

Splits dbt projects apart by adding all necessary dbt Mesh constructs based on the selection syntax.

Usage:

dbt-meshify split [OPTIONS]

Options:

  -e, --exclude TEXT   The dbt selection syntax specifying the resources to
                       exclude in the operation
  --project-path PATH  The path to the dbt project to operate on. Defaults to
                       the current directory.
  -s, --select TEXT    The dbt selection syntax specifying the resources to
                       include in the operation
  --selector TEXT      The name of the YML selector specifying the resources
                       to include in the operation
  --help               Show this message and exit.