Databricks CLI
Go to file
Pieter Noordhuis d86a1f0847
Add version flag to print version and exit (#394)
## Changes

With this PR, all of the command below print version and exit:
```
$ databricks -v
Databricks CLI v0.100.1-dev+4d3fa76
$ databricks --version
Databricks CLI v0.100.1-dev+4d3fa76
$ databricks version  
Databricks CLI v0.100.1-dev+4d3fa76
```

## Tests

Added integration test for each flag or command.
2023-05-22 20:55:42 +02:00
.codegen Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +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 Rename: bricks -> databricks (#393) 2023-05-22 16:40:50 +02:00
cmd Add version flag to print version and exit (#394) 2023-05-22 20:55:42 +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 Add version flag to print version and exit (#394) 2023-05-22 20:55:42 +02:00
libs Fix tests for new repository name (#390) 2023-05-16 19:02:07 +02:00
python Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
.codegen.json Added OpenAPI command coverage (#357) 2023-04-26 13:06:16 +02:00
.gitattributes Added OpenAPI command coverage (#357) 2023-04-26 13:06:16 +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.0 (#391) 2023-05-16 19:44:47 +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 Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
go.sum Revert "Bump github.com/imdario/mergo from 0.3.13 to 0.3.15" (#381) 2023-05-10 18:02:10 +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.