Git Product home page Git Product logo

Comments (3)

BAntonellini avatar BAntonellini commented on May 11, 2024

@jaredx435k2d0 we've just added a new --no-prompt flag to dbt-coves generate commands (sources, properties and metadata). Check it out in our newest a28 version

This allows you to automate the creation of resources, alongside the usage of already existent flags/args.

For example, the following would generate all sources in all schemas on your DB:

dbt-coves generate sources --schemas "*" --no-prompt

It will auto-flatten and generate all the resulting resources with the filter(s) you use.

A more complex filtering:

dbt-coves generate sources --schemas "my_schema" --select-relations "prefix_*" --update-strategy recreate --no-prompt

from dbt-coves.

jaredx435k2d0 avatar jaredx435k2d0 commented on May 11, 2024

This is awesome! I'm planning to use some dbt-coves commands in a regular automation, so this will be perfect.

Just to be clear, there is currently no way to choose to have it NOT flatten JSON, is that correct?

from dbt-coves.

jaredx435k2d0 avatar jaredx435k2d0 commented on May 11, 2024

Can you please explain the new recreate option? Does that delete and recreate, as in I'd lose any existing documentation? Or would it retain that, but just "recreate" in the sense that it refreshes / would now not include any items deleted since the last execution?

from dbt-coves.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.