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

kamal proxy boot_config get/reset not working without parameters #1310

Open
claasz opened this issue Dec 19, 2024 · 3 comments
Open

kamal proxy boot_config get/reset not working without parameters #1310

claasz opened this issue Dec 19, 2024 · 3 comments

Comments

@claasz
Copy link

claasz commented Dec 19, 2024

CLI

$ kamal proxy boot_config reset --https-port
No value provided for option '--https-port'

$ kamal proxy boot_config get --https-port
No value provided for option '--https-port'

From my understanding, reset should reset config to the default value, get should show the active value. So why do I have to provide a value?

@djmb
Copy link
Collaborator

djmb commented Jan 10, 2025

You should be able to run kamal proxy boot_config reset or kamal proxy boot_config get without the --https-port.

@djmb djmb closed this as completed Jan 10, 2025
@claasz
Copy link
Author

claasz commented Jan 10, 2025

So it would be less confusing if the error message would be something like reset sub command allows no options instead of No value provided for option '--https-port'

@djmb
Copy link
Collaborator

djmb commented Jan 14, 2025

Yes good point! I'll re-open

@djmb djmb reopened this Jan 14, 2025
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

2 participants