Examples

Below is a collection of standalone examples of specific argument/CLI behavior one might want, with comparison examples of how it might be done in each of Click/Typer/Argparse, where relevant.

Custom Option Value Name

i.e. “FOO” in

$ prog --help
Usage: prog --some-arg FOO

Unbounded option arguments

i.e. prog --foo 1 2 3 4 ...

Interactive Prompt

$ prog
What's your name?: Ron