Init Command

Command for initializing a Xata project

The init command helps you set up a new Xata project in your current directory.

init

Link a project to the folder.

xata init [--organization <id>] [--project <id>] [--branch <id>] [--database <name>] [--json] [-h|--help]
  • --organization: Organization ID (default: "")
  • --project: Project ID (default: "")
  • --branch: Branch ID (default: "")
  • --database: Database name (default: "")
  • --json: Output in JSON format (default: false)
  • -h, --help: Print help information and exit

Global Flags

  • -h, --help