typer
typer copied to clipboard
Typer, build great CLIs. Easy to code. Based on Python type hints.
### Is your feature request related to a problem No. ### The solution you would like In a lot of our codebase we pass the typer arguments to a dataclass...
### Describe the bug Hi, I tried to define two arguments as `List[str]`, and I got an exception from Click. ### To Reproduce * Create a file `main.py` with: ```Python...
Ensures the enum `.value` is used in the generated help text for default Argument and Option values. Supports both isolated enum instances and lists or tuples of enum instances. Did...
### Describe the bug Under certain circumstances, enum Option defaults are displayed at `EnumClass.value` instead of just `value`. I was able to reproduce it when a list of enums is...
### 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....
@tiangolo as discussed on slack, I think this should help clarify how to have proper command-subcommand chains. I suspect that this could potentially resolve some of the discussions e.g. happening...
### 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....
...since the issue's been open for a month. - resolves #456
### First check * [x ] I used the GitHub search to find a similar issue and didn't find it. * [x ] I searched the Typer documentation, with the...