When trying to run `meltano invoke dbt:docs` , I'm...
# plugins-dbt
s
When trying to run
meltano invoke dbt:docs
, I'm getting the error
Command 'docs' could not be found. Transformer 'dbt' supports the following commands: clean, compile, deps, run, seed, snapshot, test
. Any ideas?
p
@Stéphane Burwash I saw that too - would you mind creating an issue to get that command added? For now though, you can run the plugin without the colon to pass custom arguments like
meltano invoke dbt docs serve
or add the docs to your meltano.yml as a custom command https://docs.meltano.com/concepts/project#plugin-commands
s
Sounds good!
@pat_nadolny what is the expected behaviour of running dbt docs serve? Because at the moment it opens up our airflow webserver, which is setup on localhost:8080
Can you add dbt docs to the airflow webserver?
p
@Stéphane Burwash ah yeah I also saw that, both airflow and dbt docs are defaulted to run on port 8080. If you already have airflow running you can use
meltano invoke dbt docs serve --port 8081
to pass a custom port