dbt ls

Lists resources defined in a dbt project

Options

NameDescription
--resource-type <resource-type>This flag limits the 'resource types' that dbt will return in the dbt ls command. By default, the following resources are included in the results of dbt ls: models, snapshots, seeds, tests, and sources
-s, --select <SELECTION_ARG...>This flag specifies one or more selection-type arguments used to filter the nodes returned by the dbt ls command
--exclude <SELECTOR...>Specify selectors that should be excluded from the list of returned nodes
--selector <YAML selector file name...>This flag specifies one or more named selectors, defined in a <selector name>.yml file
--output <output...>This flag controls the format of output from the dbt ls command