Automatic conversion from underscore field name to hyphen subcommand name
A data field with underscores in the name like file_name: Optional[str] = Field(...) results in a command line switch with hyphens like --file-name. Currently, this is not the case for a subcommand field, e.g. delete_file: Optional[DeleteFileModel] = Field(...) results in a subcommand named delete_file, and you need delete_file: Optional[DeleteFileModel] = Field(..., alias='delete-file') to get a subcommand called delete-file. Out of the box, without these additional alias keyword arguments, a command line application ends up having all subcommands with underscores and all command line switches with hyphens. Would you consider automatically converting from underscore field name to hyphen subcommand name, resulting in shorter application code and a more consistent end user experience?
Thanks for considering!