getCliOptName method
Removes all unwanted characters from the given string and convert case depending on mode specified
Implementation
String getCliOptName(CliOptCaseMode caseMode, {bool withPrefix = false}) =>
shrinkCliOptName(withPrefix: withPrefix).toLowerCliOptName(caseMode);