databricks-cli/internal/acc
Pieter Noordhuis db6313e99c
Fix secrets put-secret command (#545)
## Changes

Two issues with this command:
* The command line arguments for the secret value were ignored
* If the secret value was piped through stdin, it would still prompt

The second issue prevented users from using multi-line strings because
the prompt reads until end-of-line.

This change adds testing infrastructure for:
* Setting up a workspace focused test (common between many tests)
* Running a snippet of Python through the command execution API

Porting more integration tests to use this infrastructure will be done
in later commits.

## Tests

New integration test passes.

The interactive path cannot be integration tested just yet.
2023-07-05 17:30:54 +02:00
..
debug.go Fix secrets put-secret command (#545) 2023-07-05 17:30:54 +02:00
helpers.go Fix secrets put-secret command (#545) 2023-07-05 17:30:54 +02:00
workspace.go Fix secrets put-secret command (#545) 2023-07-05 17:30:54 +02:00