Make flags to the dbt command also be valid flags to all subcommands #1618
Labels
enhancement
New feature or request
good_first_issue
Straightforward + self-contained changes, good for new contributors!
stale
Issues that have gone stale
Feature
Add all
dbt
-level flags to each subcommand.Feature description
dbt
has a few useful flags that must be supplied to thedbt
part of the command. For example,--debug
is supplied todbt
, anddbt run --debug
is an error - you have to usedbt --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.The text was updated successfully, but these errors were encountered: