The oleander CLI lets you manage Spark artifacts and jobs, run SQL queries against the lake, browse catalogs, register infrastructure, and launch a DuckDB terminal from the command line.Documentation Index
Fetch the complete documentation index at: https://docs.oleander.dev/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Using Homebrew
Install the oleander CLI:Using APT on Ubuntu
- Install required packages for secure repository setup:
- Add the oleander APT signing key:
- Add the oleander APT source:
- Update package indexes and install the CLI:
Configuration
Authenticate with your API key. Find it in your oleander settings.oleander configure without flags to enter your key interactively. The CLI stores the API key in ~/.oleander/config.json.
Commands
| Command | Description |
|---|---|
oleander configure | Set your API key |
oleander spark init | Initialize a PySpark job workspace |
oleander spark jobs list | List uploaded Spark artifacts |
oleander spark jobs upload | Upload a Spark artifact |
oleander spark jobs delete | Delete a Spark artifact |
oleander spark jobs submit | Submit a Spark job |
oleander spark clusters list | List registered Spark clusters |
oleander spark clusters register | Register an external Spark cluster |
oleander query | Run a SQL query against the lake |
oleander catalogs list | List available catalogs |
oleander catalogs register | Register an S3 Tables catalog |
oleander catalogs tables list | List tables in a catalog |
oleander catalogs tables describe | Describe a table schema |
oleander duckdb | Launch a DuckDB terminal connected to your lake |