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

Return default value when config value is not set #6351

Open
milanholemans opened this issue Sep 15, 2024 · 0 comments
Open

Return default value when config value is not set #6351

milanholemans opened this issue Sep 15, 2024 · 0 comments

Comments

@milanholemans
Copy link
Contributor

When I run cli config get --key prompt for example, and I haven't set any config value with this key, the command is just returning nothing.

image

In my opinion, this is not really a great user experience. It can be really confusing for users. When I encounter this, I have to look it up in the docs to find the default value for this config variable.

I suggest that when a config value is not found, we just return the default value.


On hold as long as the following issue is not resolved:

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

No branches or pull requests

1 participant