-
When I use Arg(name='xxx') to define the parameter name, it always prompts me: I think name replaces the default uppercase arguments name |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Maybe it's still a little different than I thought, I'm trying to achieve something like the metavar parameter in Typer by modifying name to the input type |
Beta Was this translation helpful? Give feedback.
-
Effect Comparison: typer define the input type using typer.Option(metavar='xxx') cappa contains uppercase arguments without input types |
Beta Was this translation helpful? Give feedback.
So
Arg("foo")
orArg(value_name="foo")
should work as of v0.10.0