home-assistant-ecosystem / home-assistant-cli

:computer: Command-line tool for Home Assistant
Other
428 stars 63 forks source link

fix: #384 #382 change deprecated parameter name autocompletion #385

Closed jpnadas closed 1 year ago

jpnadas commented 1 year ago

Context

Click has deprecated the parameter name autocompletion in favor of the new name shell_complete as of version 8.1.0. From the changelog, we have

autocompletion parameter to Command is renamed to shell_complete.

This caused issue #384, which is also reported in #382.

This PR implements the change in parameter name to stay compatible with click.