diff options
Diffstat (limited to 'home/.oh-my-zsh/plugins/dbt/README.md')
| -rw-r--r-- | home/.oh-my-zsh/plugins/dbt/README.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/home/.oh-my-zsh/plugins/dbt/README.md b/home/.oh-my-zsh/plugins/dbt/README.md new file mode 100644 index 0000000..74ae631 --- /dev/null +++ b/home/.oh-my-zsh/plugins/dbt/README.md @@ -0,0 +1,27 @@ +# dbt plugin + +The `dbt plugin` adds several aliases for useful [dbt](https://docs.getdbt.com/) commands and +[aliases](#aliases). + +To use it, add `dbt` to the plugins array of your zshrc file: + +```zsh +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](https://github.com/msempere) |
