typer
typer copied to clipboard
Typer, build great CLIs. Easy to code. Based on Python type hints.
### First Check - [X] I added a very descriptive title to this issue. - [X] I used the GitHub search to find a similar issue and didn't find it....
### First Check - [X] I added a very descriptive title to this issue. - [X] I used the GitHub search to find a similar issue and didn't find it....
### Describe the bug When attempting to use the `invoke()` or `forward()` methods on a `typer.Context` object, the results are unpredictable, resulting in either outright failures, or passing of strange...
Python: 3.8 Typer: 0.3.2 I have an optional **path** option of type _Path_ and I want to assign it a default value: ```python DEFAULT_MEDIA_DIR = Path(".") / "non-existent-dir" def cli(...
### Describe the bug typer fails for functions with *args in signature (variable number of arguments) ### To Reproduce * Create a file `main.py` with: ```Python import typer app =...
### Describe the bug I have an expensive object stored in the context obj for use in my sub commands. I expected to be able to pull that object out...
### Describe the bug When the path have `~` in the path it doesn't seem to resolve. ### To Reproduce * Create a file `main.py` with: ```Python import typer app...
Problem: type annotation of typer.run is ``` python def run(function: Callable[..., Any]) -> Any ``` However, this function returns `None`. Solution: type annotation of typer.run changes to ``` python def...
Implements an extra click type `Date`, based on built-in `click.DateTime` to enable Typer support for Python `datetime.date`. This approach could unlock others unsupported Python build-in types, even if the best...
Hi all, quick question as in the title - is the project actually alive? The last change was commited on 16 Aug 2020, there's no active dev branch, there are...