databricks-cli/libs/cmdio
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
..
context.go Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
error_event.go Use cmdio logger to log bricks cmd execution errors (#348) 2023-04-24 12:11:52 +02:00
event.go Move state to event for whether they support inplace progress logging (#339) 2023-04-18 14:20:35 +02:00
io.go Update configure command (#482) 2023-06-15 12:50:19 +00:00
logger.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
logger_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
message_event.go Log mutator messages using progress logger (#312) 2023-04-18 16:55:06 +02:00
render.go Decode contents by default in workspace export command (#531) 2023-06-27 20:42:29 +02:00