Skip to main content

CLI Overview

xrift-cli is a command-line tool for managing XRift world projects.

Features

  • Creation of new world projects
  • Uploading worlds to the XRift platform
  • User authentication management

Installation

npm install -g @xrift/cli

Basic Usage

# Show help
xrift --help

# Show version
xrift --version

# Login (browser authentication)
xrift login

# Check current user
xrift whoami

# Create a new project (interactive type selection)
xrift create

# Create a world project directly
xrift create world <project-name>

# Upload world (auto-detected from xrift.json)
xrift upload

For details, refer to the Command Reference.

Repository