databricks-cli/cmd
shreyas-goenka caade735e3
Improve `workspace import` command by allowing references to local files for content (#793)
## Changes
This PR makes a few really important QOL improvements to the `workspace
import` command.

They are:
1. Adds the `--file` flag, which allows a user to specify a file to read
the content from.
2. Wraps the most common error first time users of this command will run
into with a helpful hint.
3. Minor changes to the command Use string changing `PATH` ->
`TARGET_PATH`


## Tests
Integration tests. The newly added integration tests that check the
--file flag works as expected for both `SOURCE` and `AUTO` format.

Skipped the other formats because the API behaviour for them is
straightforward.
2023-10-05 12:48:59 +00:00
..
account Updated Go SDK to 0.22.0 (#831) 2023-10-03 11:46:16 +00:00
api Update Go SDK to v0.19.0 (#729) 2023-09-05 09:43:57 +00:00
auth Prompt for profile only in interactive mode (#788) 2023-09-21 12:38:45 +00:00
bundle Add documentation link bundle command group description (#770) 2023-09-12 13:38:43 +00:00
configure Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
fs Remove dependency on global state for remaining commands (#613) 2023-07-27 10:03:08 +00:00
root Run environment related tests in a pristine environment (#769) 2023-09-12 13:28:53 +00:00
sync Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
version Added description for version command (#737) 2023-09-06 08:41:47 +00:00
workspace Improve `workspace import` command by allowing references to local files for content (#793) 2023-10-05 12:48:59 +00:00
cmd.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00