Broken autocompletion for path type command argument #731
Unanswered
marcelldls
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
Triggering autocompletion on a path command argument returns a " " when using typer, rather than autocompleting from the current directory tree. This works fine in click . My current work around for a Path is to use
autocompletion=lambda: []
in order to get the desired auto-completion behaviourOperating System
Linux
Operating System Details
GNU bash, version 4.4.20(1)-release (x86_64-redhat-linux-gnu)
Typer Version
0.7.0
Python Version
3.11.5
Additional Context
Typer example - https://github.com/marcelldls/typer_path_complete
Click example - https://github.com/marcelldls/click_path_complete
Beta Was this translation helpful? Give feedback.
All reactions