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 TUPLE      The dbt selection syntax specifying the resources
                           to exclude in the operation
  --group-yml-path PATH    An optional path to store the new group YAML
                           definition.
  --owner-email TEXT       The group Owner's email address.
  --owner-name TEXT        The group Owner's name.
  --owner-properties TEXT  Additional properties to assign to a group Owner.
  --project-path PATH      The path to the dbt project to operate on. Defaults
                           to the current directory.
  -r, --read-catalog       Skips the dbt docs generate step and reads the
                           local catalog.json file.
  -s, --select TUPLE       The dbt selection syntax specifying the resources
                           to include in the operation
  --selector TUPLE         The name(s) of the YML selector specifying the
                           resources to include in the operation
  --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 TUPLE  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.
  -r, --read-catalog   Skips the dbt docs generate step and reads the local
                       catalog.json file.
  -s, --select TUPLE   The dbt selection syntax specifying the resources to
                       include in the operation
  --selector TUPLE     The name(s) 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 TUPLE  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.
  -r, --read-catalog   Skips the dbt docs generate step and reads the local
                       catalog.json file.
  -s, --select TUPLE   The dbt selection syntax specifying the resources to
                       include in the operation
  --selector TUPLE     The name(s) 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 TUPLE      The dbt selection syntax specifying the resources
                           to exclude in the operation
  --group-yml-path PATH    An optional path to store the new group YAML
                           definition.
  --owner-email TEXT       The group Owner's email address.
  --owner-name TEXT        The group Owner's name.
  --owner-properties TEXT  Additional properties to assign to a group Owner.
  --project-path PATH      The path to the dbt project to operate on. Defaults
                           to the current directory.
  -r, --read-catalog       Skips the dbt docs generate step and reads the
                           local catalog.json file.
  -s, --select TUPLE       The dbt selection syntax specifying the resources
                           to include in the operation
  --selector TUPLE         The name(s) of the YML selector specifying the
                           resources to include in the operation
  --help                   Show this message and exit.

dbt-meshify split#

Splits out a new subproject from a dbt project by adding all necessary dbt Mesh constructs to the resources based on the selected resources.

Usage:

dbt-meshify split [OPTIONS] PROJECT_NAME

Options:

  --create-path PATH   The path to create the new dbt project. Defaults to the
                       name argument supplied.
  -e, --exclude TUPLE  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.
  -r, --read-catalog   Skips the dbt docs generate step and reads the local
                       catalog.json file.
  -s, --select TUPLE   The dbt selection syntax specifying the resources to
                       include in the operation
  --selector TUPLE     The name(s) of the YML selector specifying the
                       resources to include in the operation
  --help               Show this message and exit.