project
command helps you create, list, describe, and manage projects in Xata.
Subcommands
list
List all projects.Organization ID (default: "")
Output in JSON format (default: false)
Print help information and exit
ls
describe
Describe a project.Organization ID (default: "")
Project ID (default: "")
Output in JSON format (default: false)
Print help information and exit
view
, show
create
Create a new project.Organization ID (default: "")
Project Name
Branch Name (default: "")
Type of instance for this branch (default: "")
Number of replicas for the branch (0-4, default: "")
Region for the branch (default: "")
Default scale to zero status for base branches (true|false)
Default scale to zero status for child branches (true|false)
Default inactivity period in minutes for base branches (15|30|60|120|180)
Default inactivity period in minutes for child branches (15|30|60|120|180)
Output in JSON format (default: false)
Print help information and exit
delete
Delete a project.Organization ID (default: "")
Project ID (default: "")
Output in JSON format (default: false)
Do not ask for confirmation, assume yes (default: false)
Print help information and exit
init
Link a project to the folder.Organization ID (default: "")
Project ID (default: "")
Branch ID (default: "")
Database name (default: "")
Output in JSON format (default: false)
Print help information and exit
connect
, switch
, link
get
Get a field from a project description.Organization ID (default: "")
Project ID (default: "")
The field to get (default:
.catalog
)Print help information and exit
set
Set a field value for a project.Organization ID (default: "")
Project ID (default: "")
The field to set
The value to set
Print help information and exit
Global Flags
Print help information and exit
Output in JSON format