Skip to content

Instantly share code, notes, and snippets.

@davesgonechina
Last active March 28, 2024 13:43
Show Gist options
  • Select an option

  • Save davesgonechina/5d144ee38c6a07a107e5a993efa3db23 to your computer and use it in GitHub Desktop.

Select an option

Save davesgonechina/5d144ee38c6a07a107e5a993efa3db23 to your computer and use it in GitHub Desktop.
List tags in a dbt project
# Found in https://github.com/dbt-labs/dbt-core/issues/7749
1. Install jq
2. dbt --quiet ls --output json --output-keys tags | jq .tags | jq -s 'add | unique'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment