mirror of https://github.com/databricks/cli.git
a7a109a5d8
## Changes Earlier we removed recursive deletion from sync. This makes it safe enough for us to not restrict sync to just the namespace of the user. This PR removes that base path validation. Note: If the sync destination is under `/Repos` we still only create missing directories required if the path is under my namespace ie matches `/Repos/@me/` ## Tests Manually Before: ``` shreyas.goenka@THW32HFW6T hello-bundle % cli bundle deploy Starting upload of bundle files Error: path must be nested under /Users/shreyas.goenka@databricks.com or /Repos/shreyas.goenka@databricks.com ``` After: ``` shreyas.goenka@THW32HFW6T hello-bundle % cli bundle deploy Starting upload of bundle files Uploaded bundle files at /Shared/common-test/hello-bundle/files! Starting resource deployment Resource deployment completed! ``` |
||
---|---|---|
.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 available 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.