databricks-cli/libs
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
..
auth Added prompts for Databricks profile for auth login command (#502) 2023-06-21 12:58:28 +02:00
cmdio Decode contents by default in workspace export command (#531) 2023-06-27 20:42:29 +02:00
databrickscfg Follow up to #513 (#521) 2023-06-23 12:51:31 +02:00
errs Added ability for deferred mutator execution (#380) 2023-05-16 18:01:50 +02:00
filer Make local files default for fs commands (#506) 2023-06-23 16:07:09 +02:00
fileset Don't sync symlink folders (#205) 2023-02-15 17:02:54 +01:00
flags Add mode default as a valid set value for progress-format flag (#472) 2023-06-14 13:26:56 +02:00
git Remove \r from new line print statments (#509) 2023-06-22 13:47:52 +02:00
locker Fix locker unlock for destroy (#492) 2023-06-19 15:57:25 +02:00
log Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
notebook Error out if notebook file does not exist locally (#261) 2023-03-21 18:13:16 +01:00
sync Add directory tracking to sync (#425) 2023-06-12 11:44:00 +00:00
terraform Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
testfile Refactor and cover edge cases in sync integration tests (#160) 2023-01-10 13:16:30 +01:00