mirror of https://github.com/databricks/cli.git
7c96270db8
## 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 |
||
---|---|---|
.. | ||
testdata | ||
extension.go | ||
instance.go | ||
instance_test.go | ||
schema.go | ||
schema_order.go | ||
schema_order_test.go | ||
schema_test.go | ||
utils.go | ||
utils_test.go | ||
validate_type.go | ||
validate_type_test.go |