Use interactive prompt to select resource to run if not specified#762
Use interactive prompt to select resource to run if not specified#762
Conversation
|
@pietern Nice! Could you include a screenshot? |
|
Love it! |
|
Niice! @pietern shouldn't the base question UI that is used here actually show the prompt before the search box?
instead of
|
|
@lennartkats-db The prompting library doesn't support switching it around. If we end up replacing it at some point we could fix that. |
|
Ok. I wonder if that could be worked around by printing the prompt ourselves and leaving the prompt passed to the library empty? In any case, certainly not blocking for this work. |
|
@lennartkats-db The prompt library removes that prompt label from the output once selected, which is nice. If we print this to stderr ourselves we wouldn't (without doing ANSI magic ourselves). |
This release marks the public preview phase of Databricks Asset Bundles. For more information, please refer to our online documentation at https://docs.databricks.com/en/dev-tools/bundles/. CLI: * Prompt once for a client profile ([#727](#727)). Bundles: * Use clearer error message when no interpolation value is found. ([#764](#764)). * Use interactive prompt to select resource to run if not specified ([#762](#762)). * Add documentation link bundle command group description ([#770](#770)).
This release marks the public preview phase of Databricks Asset Bundles. For more information, please refer to our online documentation at https://docs.databricks.com/en/dev-tools/bundles/. CLI: * Prompt once for a client profile ([#727](#727)). Bundles: * Use clearer error message when no interpolation value is found. ([#764](#764)). * Use interactive prompt to select resource to run if not specified ([#762](#762)). * Add documentation link bundle command group description ([#770](#770)).
## Changes Display an interactive prompt with a list of resources to run if one isn't specified and the command is run interactively. ## Tests Manually confirmed: * The new prompt works * Shell completion still works * Specifying a key argument still works
This release marks the public preview phase of Databricks Asset Bundles. For more information, please refer to our online documentation at https://docs.databricks.com/en/dev-tools/bundles/. CLI: * Prompt once for a client profile ([#727](#727)). Bundles: * Use clearer error message when no interpolation value is found. ([#764](#764)). * Use interactive prompt to select resource to run if not specified ([#762](#762)). * Add documentation link bundle command group description ([#770](#770)).

Changes
Display an interactive prompt with a list of resources to run if one isn't specified and the command is run interactively.
Tests
Manually confirmed: