Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task-util-config: add a select and multiselect instructions to util/config/configurator/configurator.ts #66

Open
dcremonini opened this issue Sep 22, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@dcremonini
Copy link
Contributor

dcremonini commented Sep 22, 2024

  • Kind of request: feature request

Problem

To create a wizard configurator, a selection of a choice or a multiple selection are needed.

Currently it's not possible to formulate questions such as:

  • On which cloud provider(s) do you want to install Open Serverless (more choices are possible)?
    • AWS
    • Azure
    • GCP

Impact

100% of users that will install the ops

Priority

high

Expected outcome

  1. The multiselect component of https://www.npmjs.com/package/@clack/prompts can be used.

Suggested solution

None

@dcremonini dcremonini added the enhancement New feature or request label Sep 22, 2024
@giusdp
Copy link
Member

giusdp commented Oct 18, 2024

Select is already available (using "type": ["a", "b", "c"]) and multi-select is not really needed, cause the configurator is just used to set single values to keys in the ops config.json. There is no use case for multiple values assigned to a key.

@giusdp giusdp closed this as completed Oct 18, 2024
@dcremonini dcremonini reopened this Nov 3, 2024
@dcremonini
Copy link
Contributor Author

dcremonini commented Nov 3, 2024

I reopen this issue because, as discussed with @giusdp, the use case is actually there. I modified the description because the selection of a single option was already possible. The multiselection remains the object of this issue.

@dcremonini dcremonini assigned dcremonini and unassigned giusdp Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants