CLI auth reset fails, does not recognize the internal flag --username
alfonsolsl opened this issue · 3 comments
alfonsolsl commented
The problem
The order: ha auth reset --username "xxxx" --pasword "xxxxx"
fails, does not recognize the flag --username but in the internal auth --help shows the exact flag as example.
Environment
- Home Assistant Core release with the issue: 2021.1.5
- Last working Home Assistant Core release (if known): -
- Operating environment (OS/Container/Supervised/Core): VEnv
- Integration causing this issue: -
- Link to integration documentation on our website: -
Problem-relevant configuration.yaml
N/A
N/a
## Traceback/Error logs
## Additional information
This is a new installation using virtualbox and the official disc image.
agners commented
@alfonsolsl I can't reproduce this on my end:
ha auth reset --username test --password test
Command completed successfully.
Did you maybe use spaces? If so, then this is most likely related to #299
alfonsolsl commented
Hello! I did it without any spaces in the username or password, but the error on the Cli is the same of the issue you pointed out.
agners commented
I do get errors when using quotes in the current version:
ha > auth reset --username "test" --password "test"
Error: Unknown error, see supervisor
However, with the changes introduced in home-assistant/plugin-cli#54 this problem seems to be gone as well. So this should be solved with the next CLI/CLI plugin release.