Paradime CLI

Paradime provide two CLI commands to help you getting started developing your dbt™️ project.

Initialize your dbt™️ project

If you connected an empty git repository, you can use the Paradime CLI to initialize your dbt™️ project using the command:

paradime repo init

Running this CLI command in your terminal will:

  • Create a new branch called initialize-dbt-project

  • Ask you to name your dbt project

  • Create a dbt project skeleton with all the dbt™️ folders and files such as the dbt_project.yml etc.

  • Create a paradime_schedules.yml to help you getting started setting up your dbt™️ production run. You can find more info here on running dbt™️ in production.

  • Optionally, you will be able also to generate sources.yml files based on your development connection for selected schema/datasets.

When done, simply commit you changes and open your first Pull Request 🙌

Generate your sources.yml

Paradime will generate your sources.yml using the naming convention sources_<schema_name>.yml. You can always rename the generated files and adapt to your own naming convention.

To generate sources.yml on the fly, you can use the Paradime generator CLI to help you build and maintain your dbt™️ project using the command:

paradime sources generate

Running this CLI command in your terminal will:

  • Select the database where your source data is stored

  • Then select for which schema you want to generate your sources.yml file

Using the paradime sources generator, the generated files will be created in your current working directory of you paradime terminal.

To generated sources.yml in other subfolders in your dbt™️ project, use cd to navigate to the required folder and then run the paradime source generate command.

Last updated