Databricks CLI
Go to file
Serge Smertin 24ebfdf31e
Add readable console logger (#370)
## Changes

Add a readable colored console logger that is active only for TTYs:

<img width="764" alt="image"
src="https://user-images.githubusercontent.com/259697/235221427-ca482b32-9f88-4adb-ada3-8c4f35f50f06.png">

## Tests

Run `go run main.go clusters list --log-level debug --profile demo`
2023-06-01 11:37:33 +02:00
.codegen Added secrets input prompt for secrets put-secret command (#413) 2023-05-31 10:18:29 +02:00
.github Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
.vscode Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
bundle Allow equivalence checking of filer errors to fs errors (#416) 2023-05-31 20:47:00 +02:00
cmd Add readable console logger (#370) 2023-06-01 11:37:33 +02:00
docs Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
folders Don't depend on working directory in folders.FindDirWithLeaf (#54) 2022-09-14 15:08:55 +02:00
internal Fix locker integration test (#417) 2023-06-01 09:38:03 +02:00
libs Add readable console logger (#370) 2023-06-01 11:37:33 +02:00
python Update setup.py (#397) 2023-05-23 11:39:57 +02:00
.codegen.json Added OpenAPI command coverage (#357) 2023-04-26 13:06:16 +02:00
.gitattributes Update to Go SDK v0.9.0 (#396) 2023-05-22 21:27:22 +02:00
.gitignore Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
.goreleaser.yaml Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
CHANGELOG.md Release v0.100.2 (#410) 2023-05-26 13:28:38 +02:00
Makefile goreleaser deprecated --rm-dist in favor of --clean (#349) 2023-04-20 11:59:34 +02:00
README.md Rename: bricks -> databricks (#393) 2023-05-22 16:40:50 +02:00
go.mod Bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 (#412) 2023-06-01 09:45:54 +02:00
go.sum Bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 (#412) 2023-06-01 09:45:54 +02:00
main.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
main_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00

README.md

Databricks CLI

build

This project is in private 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.

For convenient access, copy the databricks binary to any directory listed in $PATH.

Confirm the binary works by executing databricks version.

Authentication

This CLI follows the Databricks Unified Authentication principles.

You can find a detailed description at https://github.com/databricks/databricks-sdk-go#authentication.