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 |
||
---|---|---|
.. | ||
schema-invalid-default.json | ||
schema-invalid-enum.json | ||
schema-valid.json |