get_command_name
Converts a string into a command name by transforming it to lowercase and replacing underscores with hyphens.
def get_command_name(
name: str
) - > str
Converts a string into a normalized command-line format by lowercasing characters and replacing underscores with hyphens.
Parameters
| Name | Type | Description |
|---|---|---|
| name | str | The raw string identifier or function name to be converted into a command name. |
Returns
| Type | Description |
|---|---|
str | The normalized command name string formatted for CLI usage. |