Skip to main content
Writes the organization, project, branch and database to .xata/ in this folder, so the commands run here no longer need them passed in. This command also takes -h, --help.

init

Link this folder to a project and branch Writes the organization, project, branch and database to .xata/ in this folder, so the commands run here no longer need them passed in.
string
Organization ID
string
Project ID
string
Branch ID or name
string
Database name on the branch
string
The profile to use
boolean
Print where each resolved value came from
boolean
Output in JSON format when the command supports it. Defaults to on when an AI agent runs the command.
Examples: