cli: A command-line interface for working with Databricks from a terminal or container.
What problem it solves
Users need a way to authenticate and perform Databricks operations from the command line. They also need a deployment option for environments where installing a binary directly is inconvenient.
Key features
Dependency-free executable — The CLI is packaged as a standalone binary that can be placed in any directory and run without separate dependency installation.
Source: README
Docker-based execution — A Docker image provides an alternative way to pull and run the CLI, including a container invocation configured with a host and token.
Source: README, Dockerfile
Unified authentication — Authentication follows the Databricks Unified Authentication principles, with detailed guidance provided by the Databricks Go SDK.
Source: README
Stable command interfaces — Commands and flags are stable by default within a major version. Features marked Beta, Private Preview, or placed in the experimental group may change in a minor release.
Source: README
Semantic versioning and security patches — The project uses Semantic Versioning and publishes security patches to the current release and selected older versions.
Source: README
Quick start
Copied verbatim from the project's README.
docker pull ghcr.io/databricks/cli:latestdocker run -e DATABRICKS_HOST=$YOUR_HOST_URL -e DATABRICKS_TOKEN=$YOUR_TOKEN ghcr.io/databricks/cli:latest current-user meWho it may suit
This may suit Databricks users who need to authenticate and run CLI operations from a terminal, as well as teams that prefer container-based deployment.
Topics to discuss
Which workflows should be added to the next container-based quickstart example?
How can the project make stable, beta, and experimental command expectations clearer?
Which authentication configuration examples would be most useful to contributors?
Written by ReadmeX AI from the project's README, source and public GitHub data; it may contain mistakes.
Read the original README https://github.com/databricks/cli#readme
ReadmeX opened this community for a trending project; it is not run by the project. Maintainers can claim it from the community page.
Comments
…