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

Make flags to the dbt command also be valid flags to all subcommands #1618

Closed
beckjake opened this issue Jul 19, 2019 · 1 comment
Closed
Labels
enhancement New feature or request good_first_issue Straightforward + self-contained changes, good for new contributors! stale Issues that have gone stale

Comments

@beckjake
Copy link
Contributor

Feature

Add all dbt-level flags to each subcommand.

Feature description

dbt has a few useful flags that must be supplied to the dbt part of the command. For example, --debug is supplied to dbt, and dbt run --debug is an error - you have to use dbt --debug run. This is pretty minor, but it's really annoying when debugging: You can't just do !! --debug from your shell to re-run in debug mode (or, more frequently for my use case, !! --single-threaded/!! --record-timing-info). Instead you have to go insert the flag into the middle of your command.

I don't think there are any collisions currently so this should be perfectly safe, and it should be all doable within main.py.

Who will this benefit?

People who run dbt from the command line a lot and want to use dbt's global debugging flags.

@beckjake beckjake added enhancement New feature or request good_first_issue Straightforward + self-contained changes, good for new contributors! labels Jul 19, 2019
@github-actions
Copy link
Contributor

This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days.

@github-actions github-actions bot added the stale Issues that have gone stale label Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good_first_issue Straightforward + self-contained changes, good for new contributors! stale Issues that have gone stale
Projects
None yet
Development

No branches or pull requests

1 participant