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

pass filenames to --models #454

Closed
drewbanin opened this issue Jun 6, 2017 · 4 comments · Fixed by #2258 or dbt-labs/dbt-redshift#475
Closed

pass filenames to --models #454

drewbanin opened this issue Jun 6, 2017 · 4 comments · Fixed by #2258 or dbt-labs/dbt-redshift#475
Labels
enhancement New feature or request

Comments

@drewbanin
Copy link
Contributor

dbt should accept filenames as --models or --exclude parameters, eg:

$ dbt run --models models/snowplow/*
# or
$ dbt run --models models/snowplow/events.sql
@drewbanin drewbanin added the enhancement New feature or request label Jun 6, 2017
@drewbanin drewbanin added the good_first_issue Straightforward + self-contained changes, good for new contributors! label Sep 29, 2017
@drewbanin
Copy link
Contributor Author

In addition to the existing dot syntax it would be great if dbt supported paths as args to --models. This would let us glob filepaths, for instance

@mturzanska
Copy link
Contributor

mturzanska commented Oct 28, 2017

I could tackle this one if no one is working on it already.

@drewbanin
Copy link
Contributor Author

@mturzanska I got started on this a couple of weekends ago. It ended up being pretty tricky, but would love to collaborate! I will push the code up and tag you in the PR. Otherwise, I think this could be a pretty good issue: #557

@mturzanska
Copy link
Contributor

Cool, I would love to collaborate on this one.
In the meantime I will look into #557

@drewbanin drewbanin removed the good_first_issue Straightforward + self-contained changes, good for new contributors! label Feb 28, 2020
beckjake added a commit that referenced this issue Apr 3, 2020
…-paths

Add a `path:` selector to the node selector (#454)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants