CLI Commands


help is a special command that will list all the commands available to you. It's your go-to to find out what you can do with Quary.

$ quary help
 
A tool for managing SQL transformations and tests. For more documentation on these commands, visit: quary.dev/docs
 
Usage: quary [OPTIONS] <COMMAND>
 
Commands:
  init                 Initialize demo project with sample seeds & models inside current directory
  compile              Validate the project structure and model references without database
  build                Build and execute the model views/seeds against target database
  test                 Run defined tests against target database
  convert-dbt-project  Convert a dbt core project to a quary project and place in the specified path
  snapshot             Execute snapshots to capture data changes over time
  generate-sources     
  help                 Print this message or the help of the given subcommand(s)
 
Options:
  -p, --project-file <PROJECT_FILE>  Project file location [default: quary.yaml]
  -e, --env-files <ENV_FILES>        .env file locations to pull env vars from [default: .env]
  -h, --help                         Print help
  -V, --version                      Print version