databricks-cli/cmd/root
Andrew Nester 6141476ca2
Added support for bundle.Seq, simplified Mutator.Apply interface (#403)
## Changes
Added support for `bundle.Seq`, simplified `Mutator.Apply` interface by
removing list of mutators from return values/

## Tests
1. Ran `cli bundle deploy` and interrupted it with Cmd + C mid execution
so lock is not released
2. Ran `cli bundle deploy` top make sure that CLI is not trying to
release lock when it fail to acquire it
```
andrew.nester@HFW9Y94129 multiples-tasks % cli bundle deploy
Starting upload of bundle files
Uploaded bundle files at /Users/andrew.nester@databricks.com/.bundle/simple-task/development/files!

^C
andrew.nester@HFW9Y94129 multiples-tasks % cli bundle deploy
Error: deploy lock acquired by andrew.nester@databricks.com at 2023-05-24 12:10:23.050343 +0200 CEST. Use --force to override
```
2023-05-24 14:45:19 +02:00
..
auth.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
bundle.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
io.go Rename: bricks -> databricks (#393) 2023-05-22 16:40:50 +02:00
logger.go Rename: bricks -> databricks (#393) 2023-05-22 16:40:50 +02:00
progress_logger.go Rename: bricks -> databricks (#393) 2023-05-22 16:40:50 +02:00
progress_logger_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
root.go Add version flag to print version and exit (#394) 2023-05-22 20:55:42 +02:00
user_agent.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
user_agent_command.go Move code for including command name in user agent (#203) 2023-02-15 10:33:35 +01:00
user_agent_command_test.go Move code for including command name in user agent (#203) 2023-02-15 10:33:35 +01:00
user_agent_upstream.go Rename: bricks -> databricks (#393) 2023-05-22 16:40:50 +02:00
user_agent_upstream_test.go Let caller set BRICKS_UPSTREAM for user agent (#196) 2023-02-03 17:05:58 +01:00