From 447fe092216cc7d6dbdbc1e844c8b53cf3447c4e Mon Sep 17 00:00:00 2001 From: Ian Knox Date: Mon, 6 Feb 2023 10:16:41 -0600 Subject: [PATCH 1/3] Small fix to remove unused code --- core/dbt/cli/main.py | 8 +------- core/setup.py | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/core/dbt/cli/main.py b/core/dbt/cli/main.py index bbe3b5f863f..956f6bde81a 100644 --- a/core/dbt/cli/main.py +++ b/core/dbt/cli/main.py @@ -23,12 +23,6 @@ from dbt.task.init import InitTask -# CLI invocation -def cli_runner(): - # Run the cli - cli() - - class dbtUsageException(Exception): pass @@ -620,4 +614,4 @@ def test(ctx, **kwargs): # Support running as a module if __name__ == "__main__": - cli_runner() + cli() diff --git a/core/setup.py b/core/setup.py index f3b9c2017e4..148120d4891 100644 --- a/core/setup.py +++ b/core/setup.py @@ -43,7 +43,7 @@ include_package_data=True, test_suite="test", entry_points={ - "console_scripts": ["dbt = dbt.cli.main:cli_runner"], + "console_scripts": ["dbt = dbt.cli.main:cli"], }, install_requires=[ "Jinja2==3.1.2", From 8dfcdb44894021940057335c4939aa6e1cd9fad3 Mon Sep 17 00:00:00 2001 From: Github Build Bot Date: Mon, 6 Feb 2023 16:20:28 +0000 Subject: [PATCH 2/3] Add generated CLI API docs --- .../docs/build/doctrees/environment.pickle | Bin 207366 -> 207366 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/core/dbt/docs/build/doctrees/environment.pickle b/core/dbt/docs/build/doctrees/environment.pickle index a46e9721e0417b1b6fa6dc0488653542e23bf370..c87b318b6fab80b3f97008bd2da703c29f149526 100644 GIT binary patch delta 33 ncmZp>!qawzXG4=b+Yc|J+lPCbJLKCt!qawzXG4=b+qXC#0b!-)4*B*Dc}5^++TJ10T*n0f)Kd#P From 039b0fbd92ef164a5a09f5a28d076ec6431d74ac Mon Sep 17 00:00:00 2001 From: Ian Knox Date: Mon, 6 Feb 2023 10:57:06 -0600 Subject: [PATCH 3/3] empty commit, retriggers CI checks