databricks-cli/cmd
Pieter Noordhuis f64c44285f
Decode contents by default in workspace export command (#531)
## Changes

Also see #525.

The direct download flag has been removed in newer versions because of
the content type issue.

Instead, we can make the command decode the base64 output when the
output mode is text.

```
$ databricks workspace export /some/path/script.sh
#!/bin/bash
echo "this is a script"
```

## Tests

New integration test.
2023-06-27 20:42:29 +02:00
..
account Bump github.com/databricks/databricks-sdk-go from 0.9.1-0.20230614092458-b5bbc1c8dabb to 0.10.0 (#497) 2023-06-21 07:43:07 +00:00
api Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
auth Fixed error on multiple profiles and failure to create a new profile with configured cluster (#513) 2023-06-22 17:20:10 +02:00
bundle Application -> Asset (#529) 2023-06-27 01:31:20 +02:00
configure Update configure command (#482) 2023-06-15 12:50:19 +00:00
fs Add --absolute flag for ls command (#508) 2023-06-27 16:06:56 +02:00
root Do not use white color as string output (#489) 2023-06-16 13:55:22 +00:00
sync Remove \r from new line print statments (#509) 2023-06-22 13:47:52 +02:00
version Use cmdio in version command for `--output` flag (#419) 2023-06-01 12:03:22 +02:00
workspace Decode contents by default in workspace export command (#531) 2023-06-27 20:42:29 +02:00