home-assistant-ecosystem / home-assistant-cli

:computer: Command-line tool for Home Assistant
Other
446 stars 69 forks source link

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

Closed jpnadas closed 2 years ago

jpnadas commented 2 years 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.