databricks-cli/cmd/workspace/workspace
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
..
events.go Add workspace import-dir command (#456) 2023-06-12 21:03:46 +02:00
export_dir.go Add workspace export-dir command (#449) 2023-06-08 18:15:12 +02:00
import_dir.go Add workspace import-dir command (#456) 2023-06-12 21:03:46 +02:00
overrides.go Decode contents by default in workspace export command (#531) 2023-06-27 20:42:29 +02:00
workspace.go Correctly set ExactArgs if generated command has positional arguments (#488) 2023-06-16 12:15:25 +00:00