mirror of https://github.com/databricks/cli.git
a6eb673d55
## Changes In https://github.com/databricks/cli/pull/1202 the semantics of `cmdio.RenderJson` was changes to always render the JSON object. Before we would only render it if `--output json` was specified. This PR fixes the logs to print human-readable log lines instead of a JSON object. This PR also removes the now unused `cmdio.Render` method. ## Tests Manually: ``` ➜ bundle-playground git:(master) ✗ cli workspace import-dir ./tmp /Users/shreyas.goenka@databricks.com/test-import-1 -p aws-prod-ucws Importing files from ./tmp a -> /Users/shreyas.goenka@databricks.com/test-import-1/a Import complete. The files are available at /Users/shreyas.goenka@databricks.com/test-import-1 ``` ``` ➜ bundle-playground git:(master) ✗ cli workspace export-dir /Users/shreyas.goenka@databricks.com/test-export-1 ./tmp-2 -p aws-prod-ucws Exporting files from /Users/shreyas.goenka@databricks.com/test-export-1 /Users/shreyas.goenka@databricks.com/test-export-1/b -> tmp-2/b Exported complete. The files are available at ./tmp-2 ``` |
||
---|---|---|
.. | ||
acc | ||
build | ||
bundle | ||
mocks | ||
python | ||
testdata | ||
testjsons | ||
testutil | ||
alerts_test.go | ||
api_test.go | ||
auth_describe_test.go | ||
clusters_test.go | ||
completer_test.go | ||
filer_test.go | ||
fs_cat_test.go | ||
fs_cp_test.go | ||
fs_ls_test.go | ||
fs_mkdir_test.go | ||
fs_rm_test.go | ||
git_clone_test.go | ||
helpers.go | ||
init_test.go | ||
jobs_test.go | ||
locker_test.go | ||
repos_test.go | ||
secrets_test.go | ||
storage_credentials_test.go | ||
sync_test.go | ||
tags_test.go | ||
unknown_command_test.go | ||
version_test.go | ||
workspace_test.go |