Docs
Build command reference

Build command reference

View the technical specifications of the y42 build command.

Command flags

  • --select / -s
  • --exclude
  • --stale

Graph operators

  • + selects parents or children
  • @ selects children and all of its children's upstream assets
  • +N selects parents or children up to N edges away
  • * selects matched assets within a directory

Methods

  • source: selects assets that depend on a specified source
  • exposure: selects parents of a specified exposure
  • tag: selects assets that have a specific tag

Set operators

  • space-delineation - selects union of options
  • comma-delination - selects intersect of options

Unions

Running y42 build with a whitespace-separation between options selects the union of all the options provided. All assets that fulfill the selection criteria for at least one option are selected.

CLI

_10
y42 build -s +model_1 model_2+

Intersections

On the other hand, running y42 build with a comma-separation between options without whitespaces selects the intersection of all the options provided. Only assets that fulfill the selection criteria for all options are selected.

CLI

_10
y42 build -s +model_1,model_2+