Skip to content

Commit

Permalink
Remove unused cli_runner (#6877)
Browse files Browse the repository at this point in the history
  • Loading branch information
iknox-fa authored Feb 6, 2023
1 parent 05e53d4 commit e08eede
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
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

0 comments on commit e08eede

Please sign in to comment.