andrew_stewart
04/07/2021, 10:25 PMmeltano invoke dbt docs generate ? (seems to be missing some env vars that way or somethign)aaronsteers
04/08/2021, 1:43 AM--project-dir $DBT_PROJECT_DIR --profile $DBT_PROFILE into that invocation statement.
It’s fortuitous that you ask this question today because I was just reviewing @julian_knight’s pending MR that could be leveraged to create a shortcut like meltano invoke dbt:docs-generate as described here with some dbt example commands: Add support for shortcut commands for plugins (#2560) · Issues · meltano / Meltano · GitLab
I believe in the meanwhile, you may still need to explicitly reference --project-dir and --profile, but perhaps @taylor or @julian_knight can confirm.andrew_stewart
04/08/2021, 3:56 AMinvoke.taylor
04/08/2021, 2:52 PMinvoke is just running the specified executable, I suspect you’d have to pass in any of the required argsjulian_knight
04/08/2021, 7:07 PMandrew_stewart
04/08/2021, 9:19 PMandrew_stewart
04/08/2021, 11:00 PMinvokeandrew_stewart
04/08/2021, 11:01 PMdbt commands via m invoke very different from how dbt run gets executed as part of a meltano elt … --transform run sequence?aaronsteers
04/08/2021, 11:06 PMelt version gets additional context that is perhaps not automatically sent in the invoke statement.aaronsteers
04/08/2021, 11:07 PMjulian_knight
04/09/2021, 2:19 AMjulian_knight
04/09/2021, 2:20 AMsettings defined for the plugin. Settings (explicitly and implicitly defined) are passed to the executable under their env var formsaaronsteers
04/09/2021, 2:22 AM