CLI
By default, the queryx cli will read from schema.hcl in the current directory. To use an alternative schema file, you can specify the file path using the --schema flag:
sh
queryx format --schema db.hclqueryx format --schema db.hclAll available commands:
queryx init: creates a sample schema.hclqueryx db:create: create the databasequeryx db:drop: drop the databasequeryx db:migrate: generate migration files and run pending migrationsqueryx db:migrate:generate: generate migration filesqueryx format: format schema file with HCL formatterqueryx generate: generate code based on schemaqueryx version: print current installed queryx version