LazyDatabricks
Reference

CLI Reference

Command-line options and usage for LazyDatabricks

LazyDatabricks supports both a TUI (interactive) mode and CLI (non-interactive) mode.

Usage

lazydatabricks [OPTIONS] [COMMAND]

Global Options

OptionDescription
--profile, -pDatabricks CLI profile to use
--hostDatabricks workspace URL
--tokenPersonal access token
--cluster-idDefault cluster ID
--helpShow help

Commands

CommandDescription
(none)Launch TUI (default)
tuiLaunch TUI explicitly
healthShow health snapshot
clustersList clusters
jobsList jobs
testTest connection
setup billingConfigure billing extension

Examples

Launch TUI

lazydatabricks

Using a Profile

lazydatabricks --profile staging

Direct Connection

lazydatabricks --host https://adb-xxx.azuredatabricks.net --token dapi...

CLI Mode Commands

# Test connection
lazydatabricks test

# Health snapshot
lazydatabricks health

# List clusters
lazydatabricks clusters

# List jobs
lazydatabricks jobs

Set Up Billing Extension

lazydatabricks setup billing

This interactively configures the billing extension by selecting a SQL Warehouse.

Environment Variables

VariableDescription
DATABRICKS_HOSTWorkspace URL
DATABRICKS_TOKENAccess token
DATABRICKS_CLUSTER_IDDefault cluster ID

On this page