1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 08:40:06 +08:00
ohmyzsh/plugins/dbt
Miguel Sempere 5d3e86e2a4
feat(dbt): create plugin (#11635)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2023-04-21 09:15:31 +02:00
..
dbt.plugin.zsh feat(dbt): create plugin (#11635) 2023-04-21 09:15:31 +02:00
README.md feat(dbt): create plugin (#11635) 2023-04-21 09:15:31 +02:00

dbt plugin

Introduction

The dbt plugin adds several aliases for useful dbt commands and
aliases.

To use it, add dbt to the plugins array of your zshrc file:

plugins=(... dbt)

Aliases

Alias Command Description
dbtlm dbt ls -s state:modified List modified models only
dbtrm dbt run -s state:modified Run modified models only
dbttm dbt test -m state:modified Test modified models only
dbtrtm dbtrm && dbttm Run and test modified models only
dbtrs dbt clean; dbt deps; dbt seed Re-seed data
dbtfrt dbtrs; dbt run --full-refresh; dbt test Perform a full fresh run with tests
dbtcds dbt docs generate; dbt docs serve Generate docs without compiling
dbtds dbt docs generate --no-compile; dbt docs serve Generate and serve docs skipping doc. re-compilation

Maintainer

msempere