From 4cceccd62210ab64fc9c2ba90491aa02267f57f4 Mon Sep 17 00:00:00 2001 From: Victor Mattos <5757883+vicmattos@users.noreply.github.com> Date: Mon, 14 Oct 2024 14:34:16 -0300 Subject: [PATCH] style(core/dbt/cli): add `__main__.py` to call dbt cli as python module with only `dbt.cli` --- core/dbt/cli/__main__.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 core/dbt/cli/__main__.py diff --git a/core/dbt/cli/__main__.py b/core/dbt/cli/__main__.py new file mode 100644 index 00000000000..4cdf410ca03 --- /dev/null +++ b/core/dbt/cli/__main__.py @@ -0,0 +1,8 @@ + +from __future__ import annotations + +from dbt.cli.main import cli + + +if __name__ == '__main__': + raise SystemExit(cli())