The morph print command is used to display compiled data in the terminal.

  • Check the list of configured functions
  • Search for files by name
  • Search for names from file paths

It can be used in such cases.

Options

—alias

Retrieve various values compiled from the set name values

Shell
workdir $ morph print --alias example_sql_cell
{
  "resources": [
    {
      "alias": "example_sql_cell",
      "path": "/home/morph/workdir/src/example_sql_cell.sql",
      "connection": null,
      "output_paths": [
        "/tmp/morph/{name}/{now()}{ext()}"
      ],
      "public": null,
      "output_type": null,
      "data_requirements": null
    }
  ]
}

—file

Retrieve compiled data from the file path

Shell
workdir $ morph print --file /home/morph/workdir/src/example_sql_cell.sql
{
  "resources": [
    {
      "alias": "example_sql_cell",
      "path": "/home/morph/workdir/src/example_sql_cell.sql",
      "connection": null,
      "output_paths": [
        "/tmp/morph/{name}/{now()}{ext()}"
      ],
      "public": null,
      "output_type": null,
      "data_requirements": null
    }
  ]
}