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

Scaffold Parameter's default value is not used. #52

Open
gabhijit opened this issue Apr 5, 2024 · 0 comments
Open

Scaffold Parameter's default value is not used. #52

gabhijit opened this issue Apr 5, 2024 · 0 comments

Comments

@gabhijit
Copy link
Contributor

gabhijit commented Apr 5, 2024

The Scaffold parameter struct Parameter has an optional default value. When this value is given this needs to be honored.

For instance for a 'select' type parameter, this is set (to value at index 0), but this can be set for other type of parameters as well - like string, integer etc.

For this we can use something like dialoguer::Input::default.

Currently setting default value on a parameter has no effect as one has to enter the value always.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant