#!/bin/bash -e

# This script seeds metadata tables and runs the views.
# It accepts dbt run options like --target, --full-refresh, --models
# and --vars.

# Run views
echo 'dbt --warn-error run '"$@"
pipenv run dbt --warn-error run "$@"
