databricks-cli/cmd
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
..
account Fixed ignoring required positional parameters when --json flag is provided (#535) 2023-07-03 13:20:30 +02:00
api Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
auth Bump Go SDK to v0.12.0 (#540) 2023-07-03 11:46:45 +02:00
bundle Application -> Asset (#529) 2023-06-27 01:31:20 +02:00
configure Update configure command (#482) 2023-06-15 12:50:19 +00:00
fs Add --absolute flag for ls command (#508) 2023-06-27 16:06:56 +02:00
root Do not use white color as string output (#489) 2023-06-16 13:55:22 +00:00
sync Remove \r from new line print statments (#509) 2023-06-22 13:47:52 +02:00
version Use cmdio in version command for `--output` flag (#419) 2023-06-01 12:03:22 +02:00
workspace Fix secrets put-secret command (#545) 2023-07-05 17:30:54 +02:00