mirror of https://github.com/databricks/cli.git
b911327d62
## Changes Added configure-cluster flag for auth login which will allow to configure cluster ID and save it in Databricks profile Note: the build will fail until this one is merged and released https://github.com/databricks/databricks-sdk-go/pull/524 ## Tests ``` andrew.nester@HFW9Y94129 cli % ./cli auth login https://xxxxxxx.databricks.com --configure-cluster ✔ Databricks Profile Name: my-profile█ Search: █ ? Choose cluster: 10.1 ML beta (1029-yyyyy-xxxxxx) 10.5 ML standard cluster 12.2 LTS ↓ 13.1 free for all andrew.nester@HFW9Y94129 cli % cat ~/.databrickscfg [DEFAULT] host = https://xxxxx.databricks.com cluster_id = 1029-xxxxx-yyyyy auth_type = databricks-cli ``` |
||
---|---|---|
.codegen | ||
.github | ||
.vscode | ||
bundle | ||
cmd | ||
docs | ||
folders | ||
internal | ||
libs | ||
python | ||
.codegen.json | ||
.gitattributes | ||
.gitignore | ||
.goreleaser.yaml | ||
CHANGELOG.md | ||
LICENSE | ||
Makefile | ||
NOTICE | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go | ||
main_test.go |
README.md
Databricks CLI
This project is in public preview.
Documentation about the full REST API coverage is avaialbe in the docs folder.
Documentation is available at https://docs.databricks.com/dev-tools/cli/databricks-cli.html.
Installation
This CLI is packaged as a dependency-free binary executable and may be located in any directory. See https://github.com/databricks/cli/releases for releases and the docs pages for installation instructions.
Authentication
This CLI follows the Databricks Unified Authentication principles.
You can find a detailed description at https://github.com/databricks/databricks-sdk-go#authentication.