Skip to main content

Command Line Interface

The Datoria CLI (Command Line Interface) is your primary tool for managing your data platform throughout its lifecycle.

Installation

For installation instructions, see Setup Datoria Core.

Command Categories

The Datoria CLI provides commands organized into several functional areas:

Workspace Management

Commands for setting up and configuring your Datoria workspace:

# Initialize a new workspace
datoria workspace init

# Import schemas from existing databases
datoria workspace schema-import

# Validate your workspace configuration
datoria workspace validate

Development & Testing

Commands for developing and testing your data platform:

# Run jobs in isolated sandbox environments
datoria sandbox

# Preview which jobs and partitions would be processed
datoria run --plan

Deployment

Commands for deploying your data platform to production:

# Preview migrations before applying
datoria migrate --plan

# Apply migrations to your database
datoria migrate

# Run all transformation jobs
datoria run

Validation & Comparison

Commands for validating and comparing your data platform:

# Compare changes between git references
datoria diff-with-git-ref

Environment Variables

The CLI's behavior can be customized with environment variables:

VariablePurpose
DATORIA_DEBUGEnable debug logging

Tab Completion

For a smoother workflow, you can enable tab completion for the CLI.

For installation instructions, see Setup Datoria Core.