5 ms·
That's beautiful! Maybe adding tab completions would be useful? For example: $ rich "hello world" -p -a <TAB> ... Where "..." is all the possible values that
by baggiponte 5y ago
That's beautiful! Maybe adding tab completions would be useful? For example:
$ rich "hello world" -p -a <TAB>
...
Where "..." is all the possible values that can be taken in.
- willm 5y agoI think Click can do that. I’ll look in to it for the next version.
- baggiponte 5y agoSo you are using Click and not Typer?
- simonw 5y agoTyper uses Click under the hood.
- baggiponte 5y agoYeah, that I knew: why Click over Typer? Greater control in creating the CLI?
- willm 5y agoThat’s right. I would usually reach for Typer for CLIs. I chose Click because I wanted to extend the —-help and I wasn’t certain If Typer exposed the internals.