From 68626d13b1706f017fab73d024c5434ab4dc6899 Mon Sep 17 00:00:00 2001 From: Victor Rgez <52705438+victorrgez@users.noreply.github.com> Date: Sun, 26 Nov 2023 12:16:57 +0100 Subject: [PATCH 1/3] Update init.md Clarifications about running dbt init --profile --- website/docs/reference/commands/init.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/reference/commands/init.md b/website/docs/reference/commands/init.md index e9cc2ccba4e..7c5448f7482 100644 --- a/website/docs/reference/commands/init.md +++ b/website/docs/reference/commands/init.md @@ -19,11 +19,11 @@ Then, it will: -When using `dbt init` to initialize your project, include the `--profile` flag to specify an existing `profiles.yml` as the `profile:` key to use instead of creating a new one. For example, `dbt init --profile`. +When using `dbt init` to initialize your project, include the `--profile` flag to specify an existing `profiles.yml` as the `profile:` key to use instead of creating a new one. For example, `dbt init --profile profile_name`. -If the profile does not exist in `profiles.yml` or the command is run inside an existing project, the command raises an error. +If the profile does not exist in `profiles.yml` or the command is run inside an existing project (that is, if `dbt_project.yml` already exists), the command raises an error. From d71d7171a63eb5c87af4b2c74d150daa255871fa Mon Sep 17 00:00:00 2001 From: Victor Rgez <52705438+victorrgez@users.noreply.github.com> Date: Sun, 26 Nov 2023 12:27:03 +0100 Subject: [PATCH 2/3] change version versionblock --- website/docs/reference/commands/init.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/reference/commands/init.md b/website/docs/reference/commands/init.md index 7c5448f7482..2f7be339e39 100644 --- a/website/docs/reference/commands/init.md +++ b/website/docs/reference/commands/init.md @@ -17,7 +17,7 @@ Then, it will: - Create a new folder with your project name and sample files, enough to get you started with dbt - Create a connection profile on your local machine. The default location is `~/.dbt/profiles.yml`. Read more in [configuring your profile](/docs/core/connect-data-platform/connection-profiles). - + When using `dbt init` to initialize your project, include the `--profile` flag to specify an existing `profiles.yml` as the `profile:` key to use instead of creating a new one. For example, `dbt init --profile profile_name`. From 4899176188f93c5cd9f6aad0b5a846513ca06403 Mon Sep 17 00:00:00 2001 From: Victor Rgez <52705438+victorrgez@users.noreply.github.com> Date: Mon, 27 Nov 2023 20:23:37 +0100 Subject: [PATCH 3/3] Undo extra changes init.md Resolved comments on PR --- website/docs/reference/commands/init.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/reference/commands/init.md b/website/docs/reference/commands/init.md index 2f7be339e39..7211fc6fb15 100644 --- a/website/docs/reference/commands/init.md +++ b/website/docs/reference/commands/init.md @@ -17,13 +17,13 @@ Then, it will: - Create a new folder with your project name and sample files, enough to get you started with dbt - Create a connection profile on your local machine. The default location is `~/.dbt/profiles.yml`. Read more in [configuring your profile](/docs/core/connect-data-platform/connection-profiles). - + When using `dbt init` to initialize your project, include the `--profile` flag to specify an existing `profiles.yml` as the `profile:` key to use instead of creating a new one. For example, `dbt init --profile profile_name`. -If the profile does not exist in `profiles.yml` or the command is run inside an existing project (that is, if `dbt_project.yml` already exists), the command raises an error. +If the profile does not exist in `profiles.yml` or the command is run inside an existing project, the command raises an error.