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

Use init argument as project name in dbt_project.yml #3677

Closed
jtcohen6 opened this issue Aug 2, 2021 · 1 comment
Closed

Use init argument as project name in dbt_project.yml #3677

jtcohen6 opened this issue Aug 2, 2021 · 1 comment
Labels
enhancement New feature or request init Issues related to initializing the dbt starter project

Comments

@jtcohen6
Copy link
Contributor

jtcohen6 commented Aug 2, 2021

Describe the feature

After I run dbt init jeremys_project, the created dbt_project.yml should:

  • Be in a directory named jeremys_project (true today)
  • Have name: jeremys_project (not true today)
  • Have profile: jeremys_project (not true today, nice to have)

Ways to solve this

  • Instead of copying a preexisting dbt_project.yml file, store its contents as a python f string and write those contents to a file
  • Use a real templating library, such as cookiecutter
@jtcohen6 jtcohen6 added enhancement New feature or request init Issues related to initializing the dbt starter project labels Aug 2, 2021
@jtcohen6 jtcohen6 added this to the Louis Kahn milestone Aug 5, 2021
@jtcohen6 jtcohen6 removed this from the Louis Kahn milestone Sep 1, 2021
@jtcohen6
Copy link
Contributor Author

Resolved for v1!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request init Issues related to initializing the dbt starter project
Projects
None yet
Development

No branches or pull requests

1 participant