Docs

amfelt sql

Work with the SQL Amfelt generates for your warehouse.

Write out the SQL Amfelt generates from your data contracts and project configuration, and check that what is written still matches. The files land in your own repository, so they are reviewed, versioned and diffed like any other source you own.

These files are for reading. They are generated for review rather than for execution, and running one directly would write placeholder values into your warehouse. To change the SQL Amfelt generates, customize the template it comes from with amfelt template eject.

Usage  

amfelt sql [command] [flags]

Global flags  

FlagTypeDefaultDescription
--amfelt-dirstring.amfeltdirectory for workspace files (such as plugins); does not move agent identity (controlled by AMFELT_DIR)
--configstring—directory or filename of the application configuration
-f, --formatstringdefaultlog format to use; either default, pretty, or json
-l, --levelstringinfominimum log level to display; either error, warn, info, or debug
-v, --verboseboolfalsetrigger to use verbose logging

Subcommands  


Generated from amfelt v5.6.3.


Last updated on November 1, 2026