Skip to main content

flags

The flags variable contains true/false values for flags provided on the command line.

Example usage:

flags.sql
{% if flags.FULL_REFRESH %}drop table ...{% else %}-- no-op{% endif %}

The list of valid flags are:

  • flags.STRICT_MODE: True if --strict (or -S) was provided on the command line
  • flags.FULL_REFRESH: True if --full-refresh was provided on the command line
  • flags.STORE_FAILURES: True if --store-failures was provided on the command line