databricks-cli/libs
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
..
auth Added prompts for Databricks profile for auth login command (#502) 2023-06-21 12:58:28 +02:00
cmdio Fix secrets put-secret command (#545) 2023-07-05 17:30:54 +02:00
databrickscfg Follow up to #513 (#521) 2023-06-23 12:51:31 +02:00
errs Added ability for deferred mutator execution (#380) 2023-05-16 18:01:50 +02:00
filer Make local files default for fs commands (#506) 2023-06-23 16:07:09 +02:00
fileset Don't sync symlink folders (#205) 2023-02-15 17:02:54 +01:00
flags Add mode default as a valid set value for progress-format flag (#472) 2023-06-14 13:26:56 +02:00
git Remove \r from new line print statments (#509) 2023-06-22 13:47:52 +02:00
locker Fix locker unlock for destroy (#492) 2023-06-19 15:57:25 +02:00
log Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
notebook Error out if notebook file does not exist locally (#261) 2023-03-21 18:13:16 +01:00
sync Add directory tracking to sync (#425) 2023-06-12 11:44:00 +00:00
terraform Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
testfile Refactor and cover edge cases in sync integration tests (#160) 2023-01-10 13:16:30 +01:00