databricks-cli/libs/cmdio
shreyas-goenka 7c96270db8
Add enum support for bundle templates (#668)
## Changes
This PR includes:
1. Adding enum field to the json schema struct
2. Adding prompting logic for enum values. See demo for how it looks
3. Validation rules, validating the default value and config values when
an enum list is specified

This will now enable template authors to use enums for input parameters.

## Tests
Manually and new unit tests
2023-09-08 12:07:22 +00:00
..
context.go Add bundle destroy command (#300) 2023-04-06 12:54:58 +02:00
error_event.go Use cmdio logger to log bricks cmd execution errors (#348) 2023-04-24 12:11:52 +02:00
event.go Move state to event for whether they support inplace progress logging (#339) 2023-04-18 14:20:35 +02:00
io.go Added `databricks account o-auth-enrollment enable` command (#687) 2023-08-21 16:17:02 +00:00
logger.go Add enum support for bundle templates (#668) 2023-09-08 12:07:22 +00:00
logger_test.go Add enum support for bundle templates (#668) 2023-09-08 12:07:22 +00:00
message_event.go Log mutator messages using progress logger (#312) 2023-04-18 16:55:06 +02:00
render.go Decode contents by default in workspace export command (#531) 2023-06-27 20:42:29 +02:00