Skip to main content
The get-file command copies a sample file or asset into your project. If a file with the same name already exists, a timestamp suffix is added to avoid overwriting.

Usage

Positional arguments

Supported file_name values

Options by file

Some file_name values accept additional options which are all optional:
  • squirrels.yml
    • --no-connections: Exclude the connections section
    • --parameters: Include the parameters section
    • --dashboards: Include the dashboards section
  • build_example
    • --format {sql,py}: Create model as SQL (default) or Python file
  • federate_example
    • --format {sql,py}: Create model as SQL (default) or Python file

Examples

Copy sample environment files:
Copy a sample manifest including parameters and dashboards sections:
Copy a sample build model as Python:
Copy the expenses sample database:

Notes

  • Existing files are not overwritten; a timestamp is appended to the copied filename if needed