2
0

dbt.plugin.zsh 619 B

1234567891011121314151617181920212223
  1. # list modified models only
  2. alias dbtlm="dbt ls -s state:modified"
  3. # run modified models only
  4. alias dbtrm="dbt run -s state:modified"
  5. # test modified models only
  6. alias dbttm="dbt test -m state:modified"
  7. # run and test modified models only
  8. alias dbtrtm="dbtrm && dbttm"
  9. # re-seed data
  10. alias dbtrs="dbt clean; dbt deps; dbt seed"
  11. # perform a full fresh run with tests
  12. alias dbtfrt="dbtrs; dbt run --full-refresh; dbt test"
  13. # generate and serve docs
  14. alias dbtcds="dbt docs generate; dbt docs serve"
  15. # generate and serve docs skipping doc. re-compilation
  16. alias dbtds="dbt docs generate --no-compile; dbt docs serve"