Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused cli_runner #6877

Merged
merged 3 commits into from
Feb 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions core/dbt/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@
from dbt.task.init import InitTask


# CLI invocation
def cli_runner():
# Run the cli
cli()


class dbtUsageException(Exception):
pass

Expand Down Expand Up @@ -620,4 +614,4 @@ def test(ctx, **kwargs):

# Support running as a module
if __name__ == "__main__":
cli_runner()
cli()
Binary file modified core/dbt/docs/build/doctrees/environment.pickle
Binary file not shown.
2 changes: 1 addition & 1 deletion core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down