Expand the path so can complete paths with ~ in them
@tiangolo - Pushing to top!
pathlib and os.path shouldn't be mixed, you could use Path(path_or_module).expanduser().
strange to use Path on a module though.
Thanks for the interest @idvorkin! Paths with ~ in them are normally expanded by the shell calling the program (Bash, Zsh, etc). So this shouldn't be necessary.
If you have a specific use case that is not working, it would be great if you can create an example showing it in: https://github.com/tiangolo/typer/discussions/new?category=questions
For now, I'll pass on this one, but thanks for the interest! :cake:
Note: typer-cli is now integrated into Typer itself, when you install pip install typer, you automatically get the typer command too.
The code here is now integrated into typer itself. :rocket: