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
boolean
default:"false"
Output in JSON format
string
The profile to use
boolean
default:"false"
Print where each resolved value came from
Examples: