CLI Commands
onequery --helponequery gateway --helponequery source --helponequery query --helpGateway
Section titled “Gateway”onequery gatewayonequery gateway startonequery gateway statusonequery gateway logsonequery gateway restartonequery gateway stopAuth and Server
Section titled “Auth and Server”onequery config set api.server_url https://onequery.example.comonequery auth loginonequery auth whoamionequery org use <org>Sources
Section titled “Sources”onequery source connect --helponequery source connect --source postgresonequery source connect --source postgres --input '{"sourceKey":"warehouse","credentials":{"host":"db.example.com","database":"app","username":"onequery_readonly","password":"<read-only-password>"}}'onequery source listonequery source show postgres://warehouseQueries
Section titled “Queries”onequery query exec --source postgres://warehouse --sql "select 1"Source API
Section titled “Source API”onequery api --source github://github_main /repos/acme/web/pulls --jsonUse --paginate, --max-pages, and --jq for provider endpoints that return large arrays.