dbt-labs / dbt-labs/dbt

[Feature] Cleaner Call of DBT CLI as Python Module

Open
#11,013 0 comments 0 reactions 0 assignees View on GitHub
engine:v1 status:triage type:feature
Dominant language
Rust
Stars
13.8k
Forks
2.6k
Avg merge
21h 31m
Merged PRs (30d)
56

Description

### Is this your first time submitting a feature request?

- [X] I have read the [expectations for open source contributors](https://docs.getdbt.com/docs/contributing/oss-expectations)
- [X] I have searched the existing issues, and I could not find an existing issue for this feature
- [X] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

### Describe the feature

Execute `python -m dbt.cli` instead of `python -m dbt.cli.main`

### Describe alternatives you've considered

Leave the way it is (ugly, but it works).

### Who will this benefit?

DBT users that want to make sure the executable is the one installed in a specific Python Environment

### Are you interested in contributing this feature?

yes

### Anything else?

Already have a PR: https://github.com/dbt-labs/dbt-core/pull/10848

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.