Skip to content

Option to disable replacement of "_" with "-" in named cli arguments #220

@pppmlt

Description

@pppmlt

When dispatching a function like the following

def example(*args, this_is_a_long_name): [..]
the cli argument will have the "_" replaced with "-".

I would like to have the CLI arguments names (--this_is_a_long_name) to be identical to my function argument names (this_is_a_long_name). Is there any way to achieve this?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions