Skip to content

Feature: ability to customize output via templates #7

@moltar

Description

@moltar

It'd be nice to be able to customize the output template to set the defaults.

Right now the output looks like:

version: 2
models:
- name: users
  description: ''
  columns:
  - name: user_id
    description: ''
  - name: created_at
    description: ''

But I'd like it to be (to match our org style):

version: 2
models:
  - name: users

    description: |
      Description

    columns:

    - name: user_id
      description: |
        Description
      tests:
        - not_null

    - name: created_at
      description: |
        Description
      tests:
        - not_null

Maybe a project-level Jinja macro could be used?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions